https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23336

Tomás Cohen Arazi <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|rel_23_05_candidate         |additional_work_needed

--- Comment #49 from Tomás Cohen Arazi <[email protected]> ---
Hi, this needs more work:

1) prove xt/api.t => FAIL. It seems you either need to add an exception ofr the
added route or add the `additionalProperties: false` on the object definition.

2) prove t/db_dependent/Circulation.t => FAIL. 

38139718f534f308e5eb846f5e26ef54c01c3376 is the first bad commit
commit 38139718f534f308e5eb846f5e26ef54c01c3376
Author: Martin Renvoize <[email protected]>
Date:   Mon Oct 3 17:07:20 2022 +0100

    Bug 23336: Fix inconsistent return of AddIssue

    AddIssue can on occasion create a renewal instead of a fresh issue and
    in such a case we currently return undefined. We should be consistent
    and return the existing issue object for the renewal.

    Signed-off-by: Silvia Meakins <[email protected]>
    Signed-off-by: Kyle M Hall <[email protected]>
    Signed-off-by: Tomas Cohen Arazi <[email protected]>

 C4/Circulation.pm | 1 +

So probably just a matter of adjusting the tests BUT I'd like you to check the
uses of AddIssue, in case there's some stray case in which it is expecting an
empty string.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to