2.0-2.1-upgrade.sql script: insert or update on table "org_unit_setting_type" violates foreign key constraint "org_unit_setting_type_grp_fkey"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Receiving this error when running the 2.0-2.1 upgrade script:
psql:2.
DETAIL: Key (grp)=(circ) is not present in table "settings_group".
Upon investigation, no entries exist in config.
At the suggestion of tsbere in #evergreen, my workaround is to modify the upgrade script so to not try and add the "grp" field to config.
* Evergreen version - 2.1.0
* OpenSRF version - 2.0.1
* PostgreSQL version - 9.0 and 9.1
* Linux distribution (type and version) on which Evergreen is running - Debian "squeeze"
* Sample records which we can use to reproduce the problem - not applicable
Evidence of more than one distinct organization reporting this issue in the past, therefore I'm marking confirmed.
Case #1 http:// open-ils. org/irc_ logs/evergreen/ 2011-10/ %23evergreen. 28-Fri- 2011.log? raw open-ils. org/irc_ logs/evergreen/ 2011-11/ %23evergreen. 29-Tue- 2011.log? raw
Case #2 - http://