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

[#2920] Fix check for natural key duplicates in ZGW imports #1515

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

pi-sigma
Copy link
Contributor

@pi-sigma pi-sigma commented Dec 4, 2024

The check for natural keys duplicates produced false positives because the same omschrijving can be used for different types of ZGW objects (e.g. "Afgehandeld" for status and resultaat). The check for duplicate natural keys is now scoped to the type of ZGW configuration.

Taiga: https://taiga.maykinmedia.nl/project/open-inwoner/issue/2920

    - The check for natural keys duplicates produced false positives
      because the same `omschrijving` can be used for different types
      of ZGW objects (e.g. "Afgehandel" for status and resulaat).
      The check for duplicate natural keys is now scoped to the type
      of ZGW configuration.
@pi-sigma pi-sigma force-pushed the issue/2920-zgw-import-export-dupes branch from e2f1391 to bced8cd Compare December 4, 2024 14:04
@pi-sigma pi-sigma marked this pull request as ready for review December 4, 2024 14:51
@pi-sigma pi-sigma requested a review from swrichards December 4, 2024 14:51
@swrichards swrichards requested a review from alextreme December 4, 2024 14:55
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.25%. Comparing base (3192304) to head (bced8cd).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1515   +/-   ##
========================================
  Coverage    94.25%   94.25%           
========================================
  Files         1068     1068           
  Lines        40457    40460    +3     
========================================
+ Hits         38133    38136    +3     
  Misses        2324     2324           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alextreme alextreme merged commit 4d433c0 into develop Dec 4, 2024
20 checks passed
@alextreme alextreme deleted the issue/2920-zgw-import-export-dupes branch December 4, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants