Description of the problem: In the Staff client, the 'New patron attribute type' button in the Patron attribute types page does not work. Steps to reproduce (in the current master 0254fd7): Go to Home > Administration > Patron attribute types, and click on the 'New patron attribute type' button. You cannot create a new patron attribute type and you get the following Software error in the browser: Not a HASH reference at /home/aroussos/kohaclone/admin/patron-attr-types.pl line 89. I've found a way to fix this and will submit a patch soon.
Created attachment 55627 [details] [review] Bug 17308 - 'New patron attribute type' button does not work In the Staff client, the 'New patron attribute type' button in the Patron attribute types page does not work. This patch fixes that. Test plan: 1) In the Staff client, go to Home > Administration > Patron attribute types, and click on the 'New patron attribute type' button. You cannot create a new patron attribute type and you get the following Software error: Not a HASH reference at [...] 2) Apply the patch. 3) Repeat step 1). The 'New patron attribute type' button now works.
Created attachment 55628 [details] [review] Bug 17308 - 'New patron attribute type' button does not work In the Staff client, the 'New patron attribute type' button in the Patron attribute types page does not work. This patch fixes that. Test plan: 1) In the Staff client, go to Home > Administration > Patron attribute types, and click on the 'New patron attribute type' button. You cannot create a new patron attribute type and you get the following Software error: Not a HASH reference at [...] 2) Apply the patch. 3) Repeat step 1). The 'New patron attribute type' button now works.
Created attachment 55629 [details] [review] Bug 17308 - 'New patron attribute type' button does not work In the Staff client, the 'New patron attribute type' button in the Patron attribute types page does not work. This patch fixes that. Test plan: 1) In the Staff client, go to Home > Administration > Patron attribute types, and click on the 'New patron attribute type' button. You cannot create a new patron attribute type and you get the following Software error: Not a HASH reference at [...] 2) Apply the patch. 3) Repeat step 1). The 'New patron attribute type' button now works. Followed test plan, works as expected. Signed-off-by: Marc Véron <veron@veron.ch>
Sorry, forgot sign-off line with previous patch... (Comment #2)
Created attachment 55643 [details] [review] [PASSED QA] Bug 17308 - 'New patron attribute type' button does not work In the Staff client, the 'New patron attribute type' button in the Patron attribute types page does not work. This patch fixes that. Test plan: 1) In the Staff client, go to Home > Administration > Patron attribute types, and click on the 'New patron attribute type' button. You cannot create a new patron attribute type and you get the following Software error: Not a HASH reference at [...] 2) Apply the patch. 3) Repeat step 1). The 'New patron attribute type' button now works. Followed test plan, works as expected. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Pushed to master for 16.11, thanks Andreas!