[Koha-bugs] [Bug 11108] undoing receiving does not appear to work (but actually does)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 22 08:03:26 CEST 2013


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

Ed Veal <ed.veal at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #22249|0                           |1
        is obsolete|                            |

--- Comment #2 from Ed Veal <ed.veal at bywatersolutions.com> ---
Created attachment 22260
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22260&action=edit
[SIGN-OFF]Bug 11108: fix duplicate display of basket whose receipt has just
been cancelled

After receiving an order basket, before finishing receiving the shipment,
one has an option to cancel the receipt.  This patch fixes a bug where
a basket whose receipt was just cancelled displays on both the pending orders
and already received tabs.

This patch also fixes a minor unitialized variable warning.

To test:

[1] Create a basket with at least one order and close it.
[2] Receive the order, then on the row in the 'Already received'
    table, click the cancel receipt link.
[3] In the page that displays, the basket just cancelled displays
    on both tables.  Clicking the cancel receipt link again results
    in an error message.
[4] Apply the patch.
[5] Repeat steps 1 and 2.  This time, the cancelled basket displays
    only in the pending orders table, as expected.
[6] Verify that after applying the patch, the following no longer
    is logged in the Apache error log:

parcel.pl: Use of uninitialized value in string eq at acqui/parcel.pl line...

Signed-off-by: Galen Charlton <gmc at esilibrary.com>
Signed-off-by: Ed Veal <ed.veal at bywatersolutions.com>

-- 
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