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

            Bug ID: 19004
           Summary: Patrons.t fails when item-level_itypes is not set
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Problem is that TestBuilder generates two biblio records, one via
item.biblionumber and one via items.biblioitemnumber =>
biblioitem.biblionumber.
(Which actually is bad design; the biblionumber should not be in the items
table.) The biblio generated via items.biblionumber has no biblioitem.

AddReturn is called in Patrons.t. When item-level_itypes is false, it gets the
itemtype from $biblio->biblioitem->itemtype. Which generates an error on the
biblio since it has not biblioitem.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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