Fix Can't locate object method "workstation" error
authorJason Etheridge <jason@EquinoxInitiative.org>
Tue, 17 Jan 2017 21:39:58 +0000 (16:39 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 18 Aug 2017 12:02:41 +0000 (08:02 -0400)
commita1c4106e3e72a285b50c62d885b1d243fae40038
tree5b23040671f3698959cee1ac3b0f23919ee993f5
parente822d5ec26b6a3abcc9a002ea9b64b58708d018f
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