[Koha-bugs] [Bug 14846] New: Items with no holdingbranch causes user's holds display to freeze

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 17 17:32:07 CEST 2015


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

            Bug ID: 14846
           Summary: Items with no holdingbranch causes user's holds
                    display to freeze
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: philippe.blouin at inlibro.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

Created attachment 42690
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42690&action=edit
Image of freezing Holds tab display

When trying to display the holds for a user, if an item has no holdingbranch,
it causes the svc/holds service to crash and the display to freeze.

Tentative steps to reproduce on any DB:
1) put 1 or more items on hold for a given user.
2) go into the database and set the item.holdingbranch to NULL
3) In the user's page, in checkouts (circulation.pl), click the tab that should
be written 1 Hold(s)
4) It will be "Processing" indefinitely.

See attached image.

The cause is the svc/holds code that crashes.  The fix will validate that
there's an holdingbranch before proceding with the code.

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


More information about the Koha-bugs mailing list