[Koha-bugs] [Bug 32340] Several tests failing for t/db_dependent/Reserves.t

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 29 13:45:55 CEST 2023


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

--- Comment #5 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
(In reply to Emmi Takkinen from comment #4)
> (In reply to Katrin Fischer from comment #3)
> > Hi Emmi, the tests pass for me on master with the sample database. I believe
> > the sample data is assumed.
> 
> Yep, but my sample data is no longer contains HOLD_CANCELLATION letter, I've
> probably deleted it at some point. Added it manually and tests no longer
> complain it missing. However I'm getting a whole new batch of errors now:
> 
> t/db_dependent/Reserves.t .. 2/77 Use of uninitialized value $email in
> string ne at /home/emmi/Koha/Koha/Patron.pm line 1445.
> Use of uninitialized value $email in string ne at
> /home/emmi/Koha/Koha/Patron.pm line 1445.
> Use of uninitialized value $email in string ne at
> /home/emmi/Koha/Koha/Patron.pm line 1445.
> Use of uninitialized value $email in string ne at
> /home/emmi/Koha/Koha/Patron.pm line 1445.
> Use of uninitialized value $email in string ne at
> /home/emmi/Koha/Koha/Patron.pm line 1445.
> Use of uninitialized value $email in string ne at
> /home/emmi/Koha/Koha/Patron.pm line 1445.
> Can't call method "can_edit_items_from" on an undefined value at
> /home/emmi/Koha/Koha/Item.pm line 298.

Hmm, this could happen because we don't mock user environment somewhere in the
code. I just ran into similar problem in bug 34152.

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


More information about the Koha-bugs mailing list