[Bug 41475] New: 500 error when placing a hold on records with multiple 773 entries
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 Bug ID: 41475 Summary: 500 error when placing a hold on records with multiple 773 entries Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: lucas@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl To recreate: 1. Set 'EasyAnalyticalRecords' to 'Show'. 2. Find or create a parent record that has at least 2 items on it. Note the itemnumbers and the framework. 3. Edit that framework so you can add a 773$0, 773$9, and 773$t 4. Find or create a child record. 5. Make at least 2 773 entries on the child record. Add the biblionumber of the host record to the 773$0. 6. In each entry for the 773$9 add one of the itemnumbers from the host record. 7. For the 773$t and the biblio title of the host record. 8. Save. 9. Now attempt to put a hold on the child record. 10. 500 error: DBIx::Class::SQLMaker::ClassicExtensions::puke(): Fatal: unexpected operator '307' with undef operand at /kohadevbox/koha/Koha/Objects.pm line 319 at /usr/share/perl5/DBIx/Class/Exception.pm line 77 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 --- Comment #1 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 190608 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190608&action=edit Bug 41475: Make hostitemnumbers an array ref To test: 1. Set 'EasyAnalyticalRecords' to 'Show'. 2. Find or create a parent record that has at least 2 items on it. Note the itemnumbers and the framework. 3. Edit that framework so you can add a 773$0, 773$9, and 773$t 4. Find or create a child record. 5. Make at least 2 773 entries on the child record. Add the biblionumber of the host record to the 773$0. 6. In each entry for the 773$9 add one of the itemnumbers from the host record. 7. For the 773$t and the biblio title of the host record. 8. Save. 9. Now attempt to put a hold on the child record. 10. 500 error: 11. APPLY PATCH and restart_all 12. Try placing the hold again, this time it succeeds. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |lucas@bywatersolutions.com |ity.org | Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 Esther Melander <esther.melander@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |esther.melander@bywatersolu | |tions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 Emmi Takkinen <emmi.takkinen@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #190608|0 |1 is obsolete| | CC| |emmi.takkinen@koha-suomi.fi --- Comment #2 from Emmi Takkinen <emmi.takkinen@koha-suomi.fi> --- Created attachment 190787 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190787&action=edit Bug 41475: Make hostitemnumbers an array ref To test: 1. Set 'EasyAnalyticalRecords' to 'Show'. 2. Find or create a parent record that has at least 2 items on it. Note the itemnumbers and the framework. 3. Edit that framework so you can add a 773$0, 773$9, and 773$t 4. Find or create a child record. 5. Make at least 2 773 entries on the child record. Add the biblionumber of the host record to the 773$0. 6. In each entry for the 773$9 add one of the itemnumbers from the host record. 7. For the 773$t and the biblio title of the host record. 8. Save. 9. Now attempt to put a hold on the child record. 10. 500 error: 11. APPLY PATCH and restart_all 12. Try placing the hold again, this time it succeeds. Signed-off-by: Emmi Takkinen <emmi.takkinen@koha-suomi.fi> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 Emmi Takkinen <emmi.takkinen@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #190787|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 --- Comment #3 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 192619 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192619&action=edit Bug 41475: Make hostitemnumbers an array ref To test: 1. Set 'EasyAnalyticalRecords' to 'Show'. 2. Find or create a parent record that has at least 2 items on it. Note the itemnumbers and the framework. 3. Edit that framework so you can add a 773$0, 773$9, and 773$t 4. Find or create a child record. 5. Make at least 2 773 entries on the child record. Add the biblionumber of the host record to the 773$0. 6. In each entry for the 773$9 add one of the itemnumbers from the host record. 7. For the 773$t and the biblio title of the host record. 8. Save. 9. Now attempt to put a hold on the child record. 10. 500 error: 11. APPLY PATCH and restart_all 12. Try placing the hold again, this time it succeeds. Signed-off-by: Emmi Takkinen <emmi.takkinen@koha-suomi.fi> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |26.05.00 released in| | Status|Passed QA |Pushed to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 --- Comment #4 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Nice work everyone! Pushed to main for 26.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 Jacob O'Mara <jacob.omara@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Pushed to stable Version(s)|26.05.00 |26.05.00,25.11.03 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 --- Comment #5 from Jacob O'Mara <jacob.omara@openfifth.co.uk> --- Thanks all, pushed to 25.11.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 Laura Escamilla <Laura.escamilla@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|26.05.00,25.11.03 |26.05.00,25.11.03,25.05.09 released in| | Status|Pushed to stable |Pushed to oldstable -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 --- Comment #6 from Laura Escamilla <Laura.escamilla@bywatersolutions.com> --- Nice work everyone! Pushed to main for 25.05.09 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |29562 CC| |fridolin.somers@biblibre.co | |m Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29562 [Bug 29562] Pass objects to CanItemBeReserved and checkHighHolds -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to oldstable |Pushed to oldoldstable Version(s)|26.05.00,25.11.03,25.05.09 |26.05.00,25.11.03,25.05.09, released in| |24.11.15 --- Comment #7 from Fridolin Somers <fridolin.somers@biblibre.com> --- Pushed to 24.11.x for 24.11.15 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|26.05.00,25.11.03,25.05.09, |26.05.00,25.11.03,25.05.09, released in|24.11.15 |24.11.16 CC| |baptiste.wojtkowski@biblibr | |e.com --- Comment #8 from Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> --- Will instead be released in 24.11.16 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41475 Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to oldoldstable |Needs documenting CC| |wainuiwitikapark@catalyst.n | |et.nz --- Comment #9 from Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> --- Not backporting to 22.11 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org