Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
ACQ Sprint 82, ACQ Sprint 83, ACQ Sprint 84
-
2
-
Thunderjet
Description
Initially issue comes from Q3.2 ->Q4 data migration for budget@name:
POST request for mod-finance-storage-4.1.1 /_/tenant failed with [ " CREATE UNIQUE INDEX IF NOT EXISTS budget_name_idx_unique ON diku_mod_finance_storage.budget ( lower(f_unaccent(jsonb->>'name')) ) ;" ]
This happens because unique index was introduced for initially non-unique field:
ERROR: could not create unique index “budget_name_idx_unique” DETAIL: Key (lower(f_unaccent(jsonb ->> ‘name’::text)))=(gifts-one-time-fy19) is duplicated. SQL state: 23505.
One need to improve migration script to rename duplicates when migrate from non-unique indexes to unique one for budget@name.
Acceptance Criteria:
1) Common mechanism to migrate non-unique values to unique ones implemented and documented (https://wiki.folio.org/display/FOLIJET/Spike%3A+Investigate+data+migration+strategies)
2) Q3.2 ->Q4 data migration for budget@name fixed
TestRail: Results
Attachments
Issue Links
- blocks
-
MODFISTO-92 Create MODFISTO Release
-
- Closed
-
- defines
-
UXPROD-2167 Value management through transactions Part 2 - Payments, Credits and limits
-
- Closed
-
- has to be done before
-
MODORGSTOR-60 Migration script for organizations code
-
- Closed
-
- relates to
-
MODORGSTOR-53 Organization code optional in back-end, required in front-end
-
- Closed
-