Bug 10870

Summary: can't create a profile for patron card creator
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: Label/patron card printingAssignee: Chris Nighswonger <cnighswonger>
Status: CLOSED WORKSFORME QA Contact: Testopia <testopia>
Severity: critical    
Priority: P5 - low CC: gmcharlt, katrin.fischer, mjr
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:

Description Nicole C. Engard 2013-09-10 17:53:22 UTC
When you try to save a profile for the patron card creator in 3.10.9 and master you get this error:

Software error:

Can't call method "save" without a package or object reference at /home/nengard/kohaclone/patroncards/edit-profile.pl line 72.
Comment 1 MJ Ray (software.coop) 2014-03-21 11:47:29 UTC
I just debugged this on the koha email list.  edit-profile.pl isn't checking whether it got back an object or a scalar (probably -1 to indicate unsatisfactory @params) from the new() call and so it tries to call methods on a scalar result which results in this error.
Comment 2 Galen Charlton 2014-05-06 15:07:02 UTC
I cannot reproduce this in the current master.
Comment 3 Chris Nighswonger 2014-05-06 15:22:10 UTC
I cannot reproduce this in master or 3.10.09. Perhaps something is messed up with that particular installation?
Comment 4 Katrin Fischer 2014-11-01 06:36:00 UTC
I tested on current master and creating patron card creator profiles works ok for me. Closing this as it does not seem to be reproducable and 3.10 is no longer maintained. Please open a new bug if problem reappears.