Error with Recalls: Can't locate object method "workstation" via package "action::circulation" at CDBI.pm line 181
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned |
Bug Description
collab/
commit d6b672b419796a6
Author: Jason Etheridge <email address hidden>
Date: Tue Jan 17 16:39:58 2017 -0500
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:
/usr/
We first tried adding the workstation column to Storage/
similar message would then appear instead: Can't locate object method
"checkin_
This sidesteps the problem entirely.
Thanks to Mike for the solution!
Signed-off-by: Jason Etheridge <email address hidden>
diff --git a/Open-
index d8391b8..d164251 100644
--- a/Open-
+++ b/Open-
@@ -178,7 +178,7 @@ sub to_fieldmapper {
if (ref($obj)) {
for my $field ( $fm->real_fields ) {
- $fm->$field( ''.$obj->$field ) if defined $obj->$field;
+ $fm->$field( ''.$obj->$field ) if $obj->find_
}
}
Changed in evergreen: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=commitdif f;h=refs/ heads/collab/ phasefx/ cdbi_fix