Bug 36877: Fix Patron card creator errors on editing layout, profile or template
This patch fixes the unexpected behaviour when clicking on edit layout,
edit profile or edit template in Patron card creator tool.
Test plans:
1. edit layout:
a) go to http://localhost:8081/cgi-bin/koha/patroncards/manage.pl?card_element=layout
b) click on edit 'Test Layout'
c) WARNING: An unsupported operation was attempted on layout 20.
Please have your system administrator check the error log for
details.
apply patch
a) go to http://localhost:8081/cgi-bin/koha/patroncards/manage.pl?card_element=layout
b) click on edit 'Test Layout'
c) Edit patron card layout form 20 shows up
2. edit template and profile:
a) go to http://localhost:8081/cgi-bin/koha/patroncards/manage.pl?card_element=template or
http://localhost:8081/cgi-bin/koha/patroncards/manage.pl?card_element=profile
b) click edit on an item in the table
c) notice that the forms are empty
apply patch and redo steps a) and b) to load the edit form
Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>