Bug 10870 - can't create a profile for patron card creator
Summary: can't create a profile for patron card creator
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Label/patron card printing (show other bugs)
Version: Main
Hardware: All All
: P5 - low critical (vote)
Assignee: Chris Nighswonger
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-10 17:53 UTC by Nicole C. Engard
Modified: 2019-06-27 09:24 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.