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 commit c89c25d81a)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
This commit is contained in:
parent
ea04064048
commit
bc23e4a1d8
|
|
@ -563,10 +563,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