| Summary: | Warning when saving subfield structure | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Frédéric Demians <f.demians> |
| Component: | MARC Bibliographic data support | Assignee: | Frédéric Demians <f.demians> |
| Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | trivial | ||
| Priority: | P5 - low | CC: | julian.maurice, kyle |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Trivial patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: |
Bug 17281 Warning when saving subfield structure
[SIGNED-OFF] Bug 17281 Warning when saving subfield structure [PASSED QA] Bug 17281 Warning when saving subfield structure |
||
Created attachment 55394 [details] [review] 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 Created attachment 55435 [details] [review] [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> Created attachment 55456 [details] [review] [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> Pushed to master for 16.11, thanks Frédéric! Pushed in 16.05. Will be in 16.05.04. Pushed to 3.22.x, will be in 3.22.11 |
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 ) {