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

🐛 Fixed CustomView not showing edit in bad state #22002

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Conversation

ronaldlangeveld
Copy link
Member

ref ONC-715

  • A customer reported an issue where one of their custom views doesn't have the edit button appearing.
  • The issue stems to a bad state in the database where order has null as a value, however this should never be possible.
  • To fix this, we allow the filtering which compares the routes with the view query to ignore nulled keys in order for the edit button to be populated.
  • also added tests

ref ONC-715

- A customer reported an issue where one of their custom views doesn't
  have the edit button appearing.
- The issue stems to a bad state in the database where `order` has
  `null` as a value, however this should never be possible.
- To fix this, we allow the filtering which compares the routes with the
  view query to ignore nulled keys in order for the edit button to be
populated.
- also added tests
@ronaldlangeveld ronaldlangeveld changed the title 🐛 Fixed CustomView not taking a bad state. 🐛 Fixed CustomView not showing edit Jan 14, 2025
@ronaldlangeveld ronaldlangeveld changed the title 🐛 Fixed CustomView not showing edit 🐛 Fixed CustomView not showing edit in bad state Jan 14, 2025
@ronaldlangeveld ronaldlangeveld marked this pull request as ready for review January 14, 2025 06:36
@ronaldlangeveld ronaldlangeveld merged commit 819f510 into main Jan 14, 2025
18 checks passed
@ronaldlangeveld ronaldlangeveld deleted the ONC-715-fix branch January 14, 2025 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant