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

fix: geefLijstZaakdocumenten should not return an error response when the zaak can't be found #395

Conversation

mericakgul
Copy link
Collaborator

The adapters geefLijstZaakdocumenten and geefZaakDetails have this pipe which is retrieving the zaak that is requested.

If the zaak is not found then we were returning an error message mentioning 'no zaak is found with this {identificatie}'.

Now, instead of returning error we return empty object element with attributes StUF:entiteittype="ZAK" StUF:noValue="waardeOnbekend" inside antwoord element.

Meric Akgul added 3 commits June 18, 2024 23:21
…turns StUF:noValue="waardeOnbekend" in case no zaak is found
…ty in case no zaak found for GeefZaakDetails and GeefLijstZaakDocumenten requests
@MLenterman MLenterman changed the title Return no error for geefLijstZaakdocumenten and geefZaakDetails when no zaak found fix: geefLijstZaakdocumenten should not return an error response when the zaak can't be found Jun 25, 2024
@MLenterman MLenterman merged commit d4ce003 into master Jun 25, 2024
6 checks passed
@MLenterman MLenterman deleted the GT-1189-ReturnNoErrorForGeefLijstZaakdocumentenAndGeefZaakDetails branch June 25, 2024 09:31
WeAreFrank-BOT pushed a commit that referenced this pull request Jun 25, 2024
## [1.19.9](v1.19.8...v1.19.9) (2024-06-25)

### 🐛 Bug Fixes

* geefLijstZaakdocumenten should not return an error response when the zaak can't be found ([#395](#395)) ([d4ce003](d4ce003))
@WeAreFrank-BOT
Copy link

🎉 This PR is included in version 1.19.9 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

geefLijstZaakdocumenten should not return an error response when the zaak can't be found
3 participants