[Bug 17281] New: Warning when saving subfield structure
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17281 Bug ID: 17281 Summary: Warning when saving subfield structure Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: trivial Priority: P5 - low Component: MARC Bibliographic data support Assignee: gmcharlt@gmail.com Reporter: frederic@tamil.fr QA Contact: testopia@bugs.koha-community.org Saving MARC subfield structure for any tag raises a warning in /var/log/koha/library/intranet-error.log Use of uninitialized value in string eq at /usr/share/koha/intranet/cgi-bin/admin/marc_subfields_structure.pl
From this line is the:
unless ( C4::Context->config('demo') or C4::Context->config('demo') eq 1 ) { -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17281 Frédéric Demians <frederic@tamil.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17281 --- Comment #1 from Frédéric Demians <frederic@tamil.fr> --- Created attachment 55394 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55394&action=edit Bug 17281 Warning when saving subfield structure TO TEST: 1. Home > MARC Framework > Default > Actions > MARC structure 2. On 073 field (for example), click Edit 3. Click on Edit subfield button 4. Click on Save changes 5. Take a look in intranet logs. You find: Use of uninitialized value in string eq at ../admin/marc_subfields_structure.pl 6. Apply the patch, and repeat steps 3-5 => no more warning in log -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17281 Frédéric Demians <frederic@tamil.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|gmcharlt@gmail.com |frederic@tamil.fr -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17281 Owen Leonard <oleonard@myacpl.org> 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=17281 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #55394|0 |1 is obsolete| | --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 55435 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55435&action=edit [SIGNED-OFF] Bug 17281 Warning when saving subfield structure TO TEST: 1. Home > MARC Framework > Default > Actions > MARC structure 2. On 073 field (for example), click Edit 3. Click on Edit subfield button 4. Click on Save changes 5. Take a look in intranet logs. You find: Use of uninitialized value in string eq at ../admin/marc_subfields_structure.pl 6. Apply the patch, and repeat steps 3-5 => no more warning in log Signed-off-by: Owen Leonard <oleonard@myacpl.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17281 Katrin Fischer <katrin.fischer@bsz-bw.de> 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=17281 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #55435|0 |1 is obsolete| | --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 55456 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55456&action=edit [PASSED QA] Bug 17281 Warning when saving subfield structure TO TEST: 1. Home > MARC Framework > Default > Actions > MARC structure 2. On 073 field (for example), click Edit 3. Click on Edit subfield button 4. Click on Save changes 5. Take a look in intranet logs. You find: Use of uninitialized value in string eq at ../admin/marc_subfields_structure.pl 6. Apply the patch, and repeat steps 3-5 => no more warning in log Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17281 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |kyle@bywatersolutions.com --- Comment #4 from Kyle M Hall <kyle@bywatersolutions.com> --- Pushed to master for 16.11, thanks Frédéric! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17281 Frédéric Demians <frederic@tamil.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable --- Comment #5 from Frédéric Demians <frederic@tamil.fr> --- Pushed in 16.05. Will be in 16.05.04. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17281 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian.maurice@biblibre.com --- Comment #6 from Julian Maurice <julian.maurice@biblibre.com> --- Pushed to 3.22.x, will be in 3.22.11 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org