[Koha-bugs] [Bug 10028] ModReceiveOrder unexpectedly works

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 11 15:29:39 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10028

--- Comment #1 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 17370
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17370&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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list