outdated version of authority.normalize_heading can be present in certain upgraded databases
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned | ||
2.6 |
Fix Released
|
High
|
Unassigned | ||
2.7 |
Fix Released
|
High
|
Unassigned |
Bug Description
The schema upgrade script 0848.function.
Consequently, if applying updates in sequence, if 0837 is applied first, then 0848, a slightly broken version of normalize_heading() will be in place. This will manifest itself by the heading and simple_heading columns in authority.
-[ RECORD 1 ]--+---
heading | NOHEADING_a ff0ed9fcd13e894
simple_heading | NOHEADING_a ff0ed9fcd13e894
Evergreen master
Evergreen 2.7.x
Evergreen 2.6.x
Changed in evergreen: | |
milestone: | none → 2.8-beta |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
A patch to fix this is available in the user/gmcharlt/ lp1415572_ use_current_ normalize_ heading branch in the working/Evergreen repository:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ gmcharlt/ lp1415572_ use_current_ normalize_ heading
I can confirm that as of master commit 609db84, this patch will apply correctly to master, rel_2_7, and rel_2_6. It should NOT be applied without changed if another commit that alters authority. normalize_ heading makes it in first.