[Koha-bugs] [Bug 14143] Patron cards: Crash (confusion between table names creator_templates and club_template_enrollment_fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 4 23:31:15 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14143

--- Comment #1 from Marc Véron <veron at veron.ch> ---
Created attachment 38830
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38830&action=edit
Bug 14143 - Patron cards: Crash (confusion between table names
creator_templates and club_template_enrollment_fields)

To reproduce:
Go to Home > Tools > Patron card creator
Click on 'Manage profiles'
Result:
Can't use string ("1") as an ARRAY ref while "strict refs" in use at
/usr/share/kohaclone/C4/Creators/Lib.pm line 564.

Reason:
Select statment to get field 'template code' from table
'club_template_enrollment_fields' (!) instead of 'table creator_templates'.

To test:
Apply patch
Try to reproduce issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list