Fix Can't locate object method "workstation" error collab/phasefx/cdbi_fix
authorJason Etheridge <jason@EquinoxInitiative.org>
Tue, 17 Jan 2017 21:39:58 +0000 (16:39 -0500)
committerJason Etheridge <jason@EquinoxInitiative.org>
Tue, 17 Jan 2017 21:39:58 +0000 (16:39 -0500)
commitd6b672b419796a681433cc082cdf6916bb4cb6f0
tree7783958cb565c0d6e90794ca54e691ea0144c039
parent70b406c7a60cfd2417cbc3b08e089e94dfed3697
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI.pm