]> git.koha-community.org Git - koha.git/commit
Bug 24788: Remove autoloaded column accessors in Koha::Object->store
authorDavid Gustafsson <david.gustafsson@ub.gu.se>
Tue, 3 Mar 2020 13:32:31 +0000 (14:32 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 6 Mar 2020 14:54:59 +0000 (14:54 +0000)
commit7da21c6a10f944a21c96d0ce9a9d4494a4ae1560
tree83aff867f51962f51fd4a9b9a6bec5250ad464dd
parent348a04e00f57e15dc3f1ef320c673961b47ca936
Bug 24788: Remove autoloaded column accessors in Koha::Object->store

Columns are accessed as methods, relying on AUTOLOAD, in
Koha::Object->store. This could be a source of strange bugs
if a column name clashes with an existing method name.

To test:

1) Apply patches for Bug 14957
2) Follow the testing instructions, when saving a new marc rule and
error is thrown.
3) Apply patch
4) Try saving a new rule once again, this should now work

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Object.pm