Bug 28672: Pass itemnumber instead of item object
The warn call here was passing the full item object which leads to HASH() in the logs.. this patch updates it to pass the itemnumber which is more helpful. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> (cherry picked from commitc89c25d81a) Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> (cherry picked from commitbc23e4a1d8) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
f09eed687c
commit
ab792fa6c8
|
|
@ -553,10 +553,10 @@ sub transfer_items {
|
|||
$ilink->update;
|
||||
--$quantity;
|
||||
--$mapped_by_branch{$i_branch};
|
||||
$logger->warn("Transferred item $item");
|
||||
$logger->warn("Transferred item $item->itemnumber");
|
||||
}
|
||||
else {
|
||||
$logger->warn("Skipped item $item");
|
||||
$logger->warn("Skipped item $item->itemnumber");
|
||||
}
|
||||
if ( $quantity < 1 ) {
|
||||
last;
|
||||
|
|
|
|||
Loading…
Reference in New Issue