Our current DBIx::Class::Schema::Loader usage is not preserving case for column names, and thus (the few) column names that contain upper case characters (B_* for borrower attributes, and limitId for branch_transfer_limits) are not accesible using DBIx. This is easily solved configuration-wise. I'll attach the updated schema in a couple of hours for testing. Once I have regression tests for this. The problem raised when testing bug 12623.
Created attachment 30948 [details] [review] Bug 12781: update_dbix_class_files.pl should use the preserve_case option Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Created attachment 30949 [details] [review] Bug 12781: DBIx::Class schema update 08/2014 Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Created attachment 30963 [details] [review] Bug 12781: update_dbix_class_files.pl should use the preserve_case option Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Created attachment 30964 [details] [review] Bug 12781: DBIx::Class schema update 08/2014 Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Created attachment 31014 [details] [review] [PASSED QA] Bug 12781: update_dbix_class_files.pl should use the preserve_case option Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Changes make sense, tested by confirming that a patron modification request for B_<columns> no longer results in an error message.
Created attachment 31018 [details] [review] [PASSED QA] Bug 12781: DBIx::Class schema update 08/2014 Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Patches pushed to master.