Skip to content

CCD-6594: Definition import failures: ERROR: duplicate key value violates unique constraint#1817

Open
hemantt wants to merge 9 commits into
masterfrom
CCD-6594
Open

CCD-6594: Definition import failures: ERROR: duplicate key value violates unique constraint#1817
hemantt wants to merge 9 commits into
masterfrom
CCD-6594

Conversation

@hemantt

@hemantt hemantt commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Before creating a pull request make sure that:

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)
  • the keep-helm label has been added, if the helm release should be persisted after a successful build

Please remove this line and everything above and fill the following sections:

JIRA link (if applicable)

Change description

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[ ] No

kiran-yenigala-hmcts and others added 8 commits February 17, 2026 22:03
…lue violates unique constraint"

This reverts commit 452597d.
…coping (#1818)

Adds a functional regression guard for the import fix: a definition that
reuses the same FixedList ID across two case types (each tagged with
CaseTypeID) must import successfully (no duplicate field-type reference /
unique_field_type_reference_version_jurisdiction violation).

- F-126.feature / S-126.1 (extends Import_Base_data, expects 201) mirroring
  the F-106/F-112 'new import column' BEFTA pattern.
- Self-contained fixture CCD_6594_FixedList_CaseType.xlsx (AUTOTEST1: same
  list id 'coCourtList' under AAT and MAPPER, CaseTypeID populated).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants