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

--- Comment #11 from Joonas Kylmälä <joonas.kylm...@helsinki.fi> ---
(In reply to Joonas Kylmälä from comment #10)
> This causes an regression for normal usage, to reproduce:
> 
> 1. Set circ rule as follows: on shelf holds: If all unavailable
> 2. Add one (available) item to biblio
> 3. Notice that you get error message when trying to place a hold
> 4. Apply patch 
> 5. Refresh the hold page and notice the error message is gone!
> 
> This patch should not break the on shelf hold reservation rules for
> non-analytic record items the very least.

The problem appears to be that the new variable is undefined. I added some
debugging code:

+warn "Checking with: " . $biblioitem->{biblionumber} . "\n";

this produces the following log result:
[2021/07/28 15:58:11] [WARN] Checking with:

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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