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

Handle 404 error in QueryComboBox #5138

Open
sharadsw opened this issue Jul 24, 2024 · 0 comments · May be fixed by #5139
Open

Handle 404 error in QueryComboBox #5138

sharadsw opened this issue Jul 24, 2024 · 0 comments · May be fixed by #5139
Assignees
Labels
1 - Bug Incorrect behavior of the product

Comments

@sharadsw
Copy link
Contributor

QueryComboBox fetches the resource for the field used for displaying the QCBX value. It does not account for 404 errors when fetching which leads to an uncaught exception, redirecting to a 404 page in a production environment (see #4955).

To avoid this, QCBX needs to handle the 404 error and clear its value and set a save blocker indicating the value is invalid.

@sharadsw sharadsw added the 1 - Bug Incorrect behavior of the product label Jul 24, 2024
@sharadsw sharadsw self-assigned this Jul 24, 2024
@sharadsw sharadsw linked a pull request Jul 24, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - Bug Incorrect behavior of the product
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant