Bug 15130

Summary: useless unitialization warnings when updating authorities
Product: Koha Reporter: Koha Team University Lyon 3 <koha>
Component: MARC Bibliographic record staging/importAssignee: Galen Charlton <gmcharlt>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: f.demians, koha, liz, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 15130 useless unitialization warnings when updating authorities
Bug 15130 useless unitialization warnings when updating authorities
[PASSED QA] Bug 15130 useless unitialization warnings when updating authorities

Description Koha Team University Lyon 3 2015-11-04 16:05:27 UTC
When importing records (in the present case through the french Sudoc program) the following warning displays when updating linked biblios is not necessary :
Use of uninitialized value $update in numeric eq (==) at /home/kohaadmin/src/C4/AuthoritiesMarc.pm line 1554.
Comment 1 Koha Team University Lyon 3 2015-11-04 16:11:44 UTC Comment hidden (obsolete)
Comment 2 Frédéric Demians 2015-11-05 06:51:35 UTC Comment hidden (obsolete)
Comment 3 Kyle M Hall 2015-11-06 13:26:58 UTC
Created attachment 44558 [details] [review]
[PASSED QA] Bug 15130 useless unitialization warnings when updating authorities

Signed-off-by: Frederic Demians <f.demians@tamil.fr>
  Fixes a trivial coding error.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 4 Tomás Cohen Arazi 2015-11-06 15:14:08 UTC
Patch pushed to master.

Thanks Lyon3 Team!
Comment 5 Frédéric Demians 2015-11-29 20:28:10 UTC
This patch has been pushed to 3.20.x, will be in 3.20.6.
Comment 6 Liz Rea 2015-12-10 01:38:22 UTC
Just noting that this fails koha-qa for pod violations, but since it isn't new code we probably don't need to fix it.
Comment 7 Liz Rea 2016-01-06 21:19:56 UTC
Pushed to 3.18.13, and released.