Bug 16737

Summary: Error when deleting EDIFACT message
Product: Koha Reporter: Owen Leonard <oleonard>
Component: AcquisitionsAssignee: Kyle M Hall <kyle>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: f.demians, julian.maurice
Version: Main   
Hardware: All   
OS: All   
URL: /cgi-bin/koha/acqui/edifactmsgs.pl
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 7736    
Bug Blocks:    
Attachments: Bug 16737 - Error when deleting EDIFACT message
[SIGNED-OFF] Bug 16737 - Error when deleting EDIFACT message
[PASSED QA] Bug 16737 - Error when deleting EDIFACT message

Description Owen Leonard 2016-06-14 18:05:11 UTC
If you try to delete an EDIFACT message it triggers an error:

Can't use string ("2") as a subroutine ref while "strict refs" in use at /acqui/edifactmsgs.pl line 43.
Comment 1 Kyle M Hall 2016-06-14 18:07:18 UTC Comment hidden (obsolete)
Comment 2 Owen Leonard 2016-06-14 18:10:21 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2016-06-19 11:51:47 UTC
Created attachment 52537 [details] [review]
[PASSED QA] Bug 16737 - Error when deleting EDIFACT message

If you try to delete an EDIFACT message it triggers an error:

Can't use string ("2") as a subroutine ref while "strict refs" in use at
/acqui/edifactmsgs.pl line 43.

Test Plan:
1) Attempt to delete an EDIFACT message
2) Note the error
3) Apply this patch
4) Attempt to delete an EDIFACT message again
5) Note it succeeds

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 4 Kyle M Hall 2016-06-24 12:04:07 UTC
Pushed to master for Koha 16.11!
Comment 5 Frédéric Demians 2016-08-01 11:52:01 UTC
Pushed in 16.05. Will be in 16.05.02.
Comment 6 Julian Maurice 2016-08-16 12:51:25 UTC
Not needed in 3.22.x