[Koha-bugs] [Bug 10028] ModReceiveOrder works unexpectedly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Aug 9 03:15:19 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10028
Chris Cormack <chris at bigballofwax.co.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #17370|0 |1
is obsolete| |
--- Comment #2 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 20211
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20211&action=edit
Bug 10028: ModReceiveOrder unexpectedly works.
In C4::Acquisition::ModReceiveOrder, a call to NewOrder is badly used.
NewOrder returns ($basketno, $ordernumber) but in ModReceiveOrder the
ordernumber is got with
my $ordernumber = NewOrder( $args );
It works because:
sub t{
return ("a", "b");
}
my $a = t();
say $a;
Will display 'b'.
But it is not really clear.
Test plan:
Check that there is no regression for partial receives.
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list