Created attachment 91047 [details] ISBD view. Error 440 After installing the new version (19.05), in the OPAC, when we ask for the ISBD view, we get a 440 error. In staff mode, the ISBD view runs correctly.
I almost closed this duplicate to bug 22735 - but it seems that shoudl have been in 19.05.
This error only occurs in the ISBD view, not in MARC, and only in the OPAC, not in staff. I have tried the solution that is pointed at 22753, but it does not solve the problem. Thank you
This same problem can be seen in this demo site: http://koha.adminkuhn.ch http://koha.adminkuhn.ch:8080/
The problem appears when there is no item for the bibliographic record. Maybe caused by commit 4a0fa82a5b3ed2f493c55c1b74bf3dac2738c47f Bug 22696: Simplify visibility logic in opac-ISBDdetail.pl
The code from opac-MARCdetail.pl, opac-detail.pl and opac-ISBDdetail.pl is different. Hard to see which path we must follow.
(In reply to Jonathan Druart from comment #5) > The code from opac-MARCdetail.pl, opac-detail.pl and opac-ISBDdetail.pl is > different. Hard to see which path we must follow. The code in (In reply to Jonathan Druart from comment #5) > The code from opac-MARCdetail.pl, opac-detail.pl and opac-ISBDdetail.pl is > different. Hard to see which path we must follow. opac-ISBDdetail.pl is the right one. The others are really leaking records that shouldn't exist for the OPAC interface. A good enhancement could be to consider a behavior based on OpacSuppression for this cases. But as-is there's an inconsistent behavior.
Created attachment 91116 [details] [review] Bug 23225: Regression tests
Created attachment 91117 [details] [review] Bug 23225: Add a test
Created attachment 91118 [details] [review] Bug 23225: Do not hide a biblio if there is no item This patch fixes a 404 redirect from the OPAC ISBD view if the bibliographic record does not have item attached.
Created attachment 91119 [details] [review] Bug 23225: Add a test Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Created attachment 91120 [details] [review] Bug 23225: Do not hide a biblio if there is no item This patch fixes a 404 redirect from the OPAC ISBD view if the bibliographic record does not have item attached. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Thank you. I have modified the Biblio.pl file and it already shows the ISDB view correctly when there are no items.
Nice work! Pushed to master for 19.11.00
Pushed to 19.05.x for 19.05.03
missing dependencies, no backport to 18.11.x