Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter out any non existent fields #19352

Merged
merged 5 commits into from
Aug 10, 2023
Merged

Filter out any non existent fields #19352

merged 5 commits into from
Aug 10, 2023

Conversation

Nitwel
Copy link
Member

@Nitwel Nitwel commented Aug 4, 2023

fixes #18912

Problem was that we didn't check if a field was non existent anymore causing the layout to crash. Now it gets ignored and fixes itself when you update the tabs again.

@Nitwel Nitwel requested a review from a team August 4, 2023 14:45
@Nitwel Nitwel self-assigned this Aug 4, 2023
@Nitwel Nitwel requested review from paescuj, licitdev and azrikahar and removed request for a team August 4, 2023 14:45
@changeset-bot
Copy link

changeset-bot bot commented Aug 4, 2023

🦋 Changeset detected

Latest commit: 3c50021

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@directus/app Patch
@directus/api Patch
directus Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@paescuj
Copy link
Member

paescuj commented Aug 4, 2023

Could we use that check for other layouts as well?

@Nitwel
Copy link
Member Author

Nitwel commented Aug 10, 2023

Checked all other layouts too, but they handle it fine.

@paescuj paescuj requested review from DanielBiegler and removed request for licitdev and azrikahar August 10, 2023 11:12
Copy link
Contributor

@DanielBiegler DanielBiegler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything seems to be working correctly! :) LGTM 🚀

@DanielBiegler DanielBiegler merged commit cd78801 into main Aug 10, 2023
6 checks passed
@DanielBiegler DanielBiegler deleted the fix-18912 branch August 10, 2023 12:42
@github-actions github-actions bot added this to the Next Release milestone Aug 10, 2023
sethkaufee pushed a commit to sethkaufee/directus that referenced this pull request Sep 20, 2023
* filter out any non existent fields

* hide upsi

* fix layout throwing error

* Format file

* Add changeset

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
br-rafaelbarros pushed a commit to personal-forks/directus-source that referenced this pull request Nov 7, 2023
* filter out any non existent fields

* hide upsi

* fix layout throwing error

* Format file

* Add changeset

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deleted field, still referenced in other collection and breaking the view
3 participants