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: updateZaak incorrectly distinguishes roles due to 'authentiek' dataloss in translation resulting in attempt to add as new role #418

Merged
merged 6 commits into from
Jul 16, 2024

Conversation

mericakgul
Copy link
Collaborator

  • 'Authentiek' field is not represented in Openzaak so we are mapping this field statically with the value 'J' from Zgw to Zds.
  • In case this field has the value 'N' in updateZaak message in one of the role elements then the comparison fails and we interpret it as a different role while it is the same role and we try to add the same role again and we get error because the rol already exists in Openzaak.
  • Because this field is not represented in Openzaak and mapped statically from zgw to zds by us, we are now skipping to compare this field while comparing two roles to see if they are the same roles.

@MLenterman MLenterman changed the title Update ZgwRol Check fix: updateZaak incorrectly distinguishes roles due to 'authentiek' dataloss in translation resulting in attempt to add as new role Jul 16, 2024
@MLenterman MLenterman merged commit 266d9ca into master Jul 16, 2024
6 checks passed
@MLenterman MLenterman deleted the WS-60-Update-Zgw-Rol-Check branch July 16, 2024 08:23
WeAreFrank-BOT pushed a commit that referenced this pull request Jul 16, 2024
## [1.19.16](v1.19.15...v1.19.16) (2024-07-16)

### 🐛 Bug Fixes

* defaultProfile not being used when there is no zaaktype specific translation profile configured ([#402](#402)) ([179c468](179c468))
* updateZaak incorrectly distinguishes roles due to 'authentiek' dataloss in translation resulting in attempt to add as new role ([#418](#418)) ([266d9ca](266d9ca))

### 🤖 Build System

* **dependencies:** bump the github-actions group across 1 directory with 3 updates ([#422](#422)) ([77ed198](77ed198))
@WeAreFrank-BOT
Copy link

🎉 This issue has been resolved in version 1.19.16 🎉

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.

3 participants