]> git.evergreen-ils.org Git - Evergreen.git/commit
Fix Can't locate object method "workstation" error
authorJason Etheridge <jason@EquinoxInitiative.org>
Tue, 17 Jan 2017 21:39:58 +0000 (16:39 -0500)
committerMike Rylander <mrylander@gmail.com>
Fri, 30 Jun 2017 15:23:07 +0000 (11:23 -0400)
commit24edd83b6c7ea4961aeeb5b1d2bf4a0becc1b142
tree9d62c7405a7d009b059fb7aadf840028df0316ef
parent244e76a10c47cbd1a7d8a932be635eb31d0d54e7
Fix Can't locate object method "workstation" error

When trying to utilize the Recall functionality, Evergreen would fail to update
targeted circulations (truncate the due date, etc.)  In the logs, we would have
an error like this:

[] open-ils.storage [ERR ::action.pm:1597:] Processing of hold failed:
Can't locate object method "workstation" via package "action::circulation" at
/usr/local/share/perl/5.14.2/OpenILS/Application/Storage/CDBI.pm line 181.

We first tried adding the workstation column to Storage/CDBI/action.pm, but a
similar message would then appear instead: Can't locate object method
"checkin_workstation"

This sidesteps the problem entirely.

Thanks to Mike for the solution!

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI.pm