Skip documents missing in the Documenten API when listing case documents - #857
Skip documents missing in the Documenten API when listing case documents#857mbritense wants to merge 1 commit into
Conversation
When a zaak still has a zaakinformatieobject that links to an enkelvoudiginformatieobject that no longer exists in the Documenten API (DRC), loading the documents tab failed entirely with an error. Documents that return 404 from the Documenten API are now skipped with a warning in the log, so the remaining documents of the case are still shown.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Right now its only a partial fix. Things like ZaakDocumentService.deleteRelatedInformatieObjecten will still break
closes generiekzaakafhandelcomponent/gzac-issues#799