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

--- Comment #9 from David Cook <[email protected]> ---
Note: While I think that this change is reasonable, since we've already done it
before, and it prevents a crash... it's still not quite a full solution.

--

Frido's test plan seemed to require a race condition, but I've found a way to
reproduce it without the race.

In koha-testing-docker, without the patch, change OpacHiddenItemsHidesRecord to
"Don't hide" and then delete a bib from the DB using SQL.

Do a search that should retrieve the record.

It'll throw a fatal error.

(If you have OpacHiddenItemsHidesRecord enabled, the record will be silently
hidden without an error.)

If you apply the patch, the fatal error goes away.

*However*, your deleted bibs will appear in your search results, and if you
click on one of them you'll get a 404.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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