[Koha-bugs] [Bug 12748] Serials - two issues with status of "Expected"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 29 23:21:50 CEST 2015


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

Liz Rea <wizzyrea at gmail.com> changed:

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

--- Comment #2 from Liz Rea <wizzyrea at gmail.com> ---
Created attachment 41230
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41230&action=edit
Bug12748 - Fixes duplicate serials with an "expected" status bug

Added a new sub to Serials.pm to be able to get serials with their statuses.
    Now the sub ModSerialStatus checks for other serials with an "expected"
status before doing anything.

    Also modified Serials.t to be able to test those changes.

    Test Plan
    1) Apply patch
    2) Run ./t/db_dependent/Serials.t
    3) Validate that there are no errors
    4) Go on "Serial collection information" page for a serial of your choice
    5) Click on "Generate next"
    6) Change the status of the original serial from "late" to "expected"
    7) Change the newly generated serial from "expected" to "delete"
    8) Validate that there are no new serials created by instruction 7 and that
the serial was deleted

Signed-off-by: Liz Rea <liz at catalyst.net.nz>
Tests pass, serials are now deleted correctly.

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