[Koha-bugs] [Bug 23463] Move C4::Items CRUD subroutines to Koha::Item

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 16 15:02:02 CET 2020


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Signed Off

--- Comment #69 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Nick Clemens from comment #68)
> Testing btoh with mariadb_d9 and mariadb_d10 I was unable to blank any
> fields in items, either individually or via batch edit - things like
> 'onloan' and 'itemlost_on' are successfully nulled as they should be.

Fixed, see "Use new method Koha::Object->set_or_blank"

> Two test failures:
> 
> #   Failed test 'Syntax check misc/migration_tools/fix_onloan.pl'
> #   at /usr/share/perl5/Test/Strict.pm line 423.
> # Unmatched right curly bracket at misc/migration_tools/fix_onloan.pl line
> 20, at end of line
> # syntax error at misc/migration_tools/fix_onloan.pl line 20, near "}"
> # misc/migration_tools/fix_onloan.pl had compilation errors.
> # Looks like you failed 1 test of 706.

Fixed!

>     #   Failed test 'reference if positive itemtype notforloan value'
>     #   at t/db_dependent/XSLT.t line 57.
>     #                   '<items
> xmlns="http://www.koha-community.org/items"><item><homebranch>FwkGdaAK</
> homebranch><holdingbranch>FwkGdaAK</holdingbranch><location></
> location><ccode></ccode><status>available</status><itemcallnumber></
> itemcallnumber><stocknumber></stocknumber></item></items>'
>     #     doesn't match '(?^u:<status>reference</status>)'

Fixed!

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


More information about the Koha-bugs mailing list