To confirm: Add a new patron fo type Library or School Check js console and see "TypeError: document.form.dateofbirth is undefined"
Created attachment 50359 [details] [review] Bug 16285 - write_age() function throws error for patron categories that don't include dateofbirth in form To test: 1 Add a patron in category Library or School 2 Note the js error in the console 3 Apply patch 4 Repeat and note the error is gone
Created attachment 50370 [details] [review] Bug 16285 - write_age() function throws error for patron categories that don't include dateofbirth in form To test: 1 Add a patron in category Library or School 2 Note the js error in the console 3 Apply patch 4 Repeat and note the error is gone Signed-off-by: Chris Cormack <chrisc@catalyst.net.z> Made it an explicit if, and fixed the author of the commit
Created attachment 50385 [details] [review] [PASSED QA] Bug 16285 - write_age() function throws error for patron categories that don't include dateofbirth in form To test: 1 Add a patron in category Library or School 2 Note the js error in the console 3 Apply patch 4 Repeat and note the error is gone Signed-off-by: Chris Cormack <chrisc@catalyst.net.z> Made it an explicit if, and fixed the author of the commit Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to Master - Should be in the May 2016 release. Thanks!
Not needed in stable versions, status changed to RESOLVED