[Koha-bugs] [Bug 13517] Show waiting date on reserve/request.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 9 18:36:24 CEST 2015


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

--- Comment #21 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
So... I was passing qa on this one (I promise!) and, during my last test, I
have found a waiting reserve in my DB without itemnumber (??)

Which makes the script explodes:
  Can't call method "holdingbranch" on an undefined value at
/home/koha/src/reserve/request.pl line 488.

It's an old data and a DB I used to test, so maybe this case is impossible to
reach
      reserve_id: 2051
  borrowernumber: 7781
     reservedate: 2011-08-19
    biblionumber: 4934
  constrainttype: a
      branchcode: MAURES
notificationdate: NULL
    reminderdate: NULL
cancellationdate: NULL
    reservenotes: 
        priority: 0
           found: W
       timestamp: 2015-04-28 16:41:22
      itemnumber: NULL
     waitingdate: 2015-04-28
  expirationdate: NULL
  lowestPriority: 0
         suspend: 0
   suspend_until: NULL

Sorry I don't remember what I did on April 28th :)

I don't really know what to do, we could let the code as it, and see if someone
report the issue.
Or add an existing test on the item.

What do you prefer?

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


More information about the Koha-bugs mailing list