Inconsistent config.update_coded_value_map() in codebase
Bug #1091831 reported by
Dan Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
2.3 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
config.
I believe the upgrade is the correct version. New branch is forthcoming to take care of this.
Changed in evergreen: | |
assignee: | Jason Stephenson (jstephenson) → nobody |
status: | In Progress → Confirmed |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Branch to fix is here:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ dbwells/ lp1091831_ coded_value_ map_function_ fix
working/ user/dbwells/ lp1091831_ coded_value_ map_function_ fix
This makes the schema version match the old upgrade, and adds a new upgrade file for anyone unlucky enough to have installed with the bad schema.
As it stands, while the logic is at least functional now, you will get an insert error if you 'add_only' something which is already there, rather than just a notice or warning, but maybe this is the intended behavior. If we decide we want to do something else, we will have to take that on separately.