Skip to content

Skip documents missing in the Documenten API when listing case documents - #857

Open
mbritense wants to merge 1 commit into
rc/12.41.0from
bugfix/799-fix-documents-tab
Open

Skip documents missing in the Documenten API when listing case documents#857
mbritense wants to merge 1 commit into
rc/12.41.0from
bugfix/799-fix-documents-tab

Conversation

@mbritense

Copy link
Copy Markdown
Contributor

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.
@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 375a9715-50c9-4ce2-b20d-566540f33948

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch bugfix/799-fix-documents-tab

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Right now its only a partial fix. Things like ZaakDocumentService.deleteRelatedInformatieObjecten will still break

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants