]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1204273 - Repair org unit settings for making state not required
authorBen Shum <bshum@biblio.org>
Mon, 22 Jul 2013 19:10:37 +0000 (15:10 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Thu, 1 Aug 2013 19:22:07 +0000 (15:22 -0400)
commitd2ef1684cc4b71bc7714edb7a5dfdac19739fabc
treed38462def1ccc247801cb505047a2086ef14be71
parentd6ec45265c0d1b4b1b9444d3525e0e7e13b646f7
LP1204273 - Repair org unit settings for making state not required

As noted by tsbere in IRC, the org unit settings were using "au" instead of "aua"
which led to issues applying the settings and making the addresses require the
state field.

Also, change the constraint for field_name on actor.org_unit_setting_type_log to
be "DEFERRABLE INITIALLY DEFERRED" to be more flexible and consistent with other
parts of the database relating to org unit setting names.

And, the table auditor.actor_usr_address_history needs to be updated so that
state can be NULL there as well.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.state-field-settings-fix.sql [new file with mode: 0644]
Open-ILS/web/js/ui/default/actor/user/register.js