[Bug 39425] New: MarcFieldsToOrder should not error out on a duplicated field
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39425 Bug ID: 39425 Summary: MarcFieldsToOrder should not error out on a duplicated field Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: Acquisitions Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org If a field in MarcFieldsToOrder has two values price: 020$c When adding a staged file to a basket you get a 500 error and the logs say something like: ==> /var/log/koha/{site}/plack-error.log <== Invalid number of fields detected on field 020, please check this file at /usr/share/koha/lib/Koha/MarcOrder.pm line 294. We should find a way to handle this in the code, or at least provide meaningful feedback to the user -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39425 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |35026 CC| |matt.blenkinsop@ptfs-europe | |.com Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35026 [Bug 35026] Refactor addorderiso2709.pl to use object methods -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39425 Chris Slone <cslone@camdencountylibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cslone@camdencountylibrary. | |org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39425 --- Comment #1 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- I believe the intention here is that all orders will be "complete", you can't do anything with two quantities in a single order. I think if having less of a field, i.e. one sort1 for several orders it may be expected that the value would be reused If having more of a field we could simply decide, and document, to use the first or the last -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org