-
Notifications
You must be signed in to change notification settings - Fork 3
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
Return 410 GONE for notification checks on deleted dialogs #1386
Labels
bug
Something isn't working
Comments
4 tasks
oskogstad
added a commit
that referenced
this issue
Nov 4, 2024
…ogs (#1387) <!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> ## Related Issue(s) - #1386 ## Verification - [ ] **Your** code builds clean without any errors or warnings - [ ] Manual testing done (required) - [ ] Relevant automated test added (if you find this hard, leave it and we'll help out) ## Documentation - [ ] Documentation is updated (either in `docs`-directory, Altinnpedia or a separate linked PR in [altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if applicable) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced error handling for deleted entities in the notification condition query. - Added a new response type for deleted dialogs, improving clarity in error reporting. - **Bug Fixes** - Improved response handling for scenarios where a requested dialog has been deleted. - **Tests** - Introduced a new test case to verify correct behavior when querying a deleted dialog. - Refactored test methods for improved readability and maintainability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Notification condition checks return 404 NOT FOUND for dialogs that are soft deleted.
Expected behavior
410 GONE
Actual behavior
404 NOT FOUND
The text was updated successfully, but these errors were encountered: