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

            Bug ID: 22006
           Summary: Koha::Account::Line->item should return undef if no
                    item linked
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
        Depends on: 12001

If there is no item linked to an account line, the ->item method should return
undef.
Now it explodes with:
        Carp::croak('DBIC result _type  isn\'t of the _type Item') called at
/home/vagrant/kohaclone/Koha/Object.pm line 102



Exists since the introduction of this method by bug 12001


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12001
[Bug 12001] GetMemberAccountRecords slows down display of patron details and
checkout pages
-- 
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