[Bug 16285] New: write_age() function throws error for patron categories that don't include dateofbirth in form
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16285 Bug ID: 16285 Summary: write_age() function throws error for patron categories that don't include dateofbirth in form Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com To confirm: Add a new patron fo type Library or School Check js console and see "TypeError: document.form.dateofbirth is undefined" -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16285 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16285 --- Comment #1 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 50359 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50359&action=edit 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 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16285 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Assignee|koha-bugs@lists.koha-commun |nick@bywatersolutions.com |ity.org | Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16285 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16285 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #50359|0 |1 is obsolete| | --- Comment #2 from Chris Cormack <chris@bigballofwax.co.nz> --- Created attachment 50370 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50370&action=edit 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 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16285 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16285 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #50370|0 |1 is obsolete| | --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 50385 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50385&action=edit [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> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16285 Brendan Gallagher <brendan@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brendan@bywatersolutions.co | |m Status|Passed QA |Pushed to Master --- Comment #4 from Brendan Gallagher <brendan@bywatersolutions.com> --- Pushed to Master - Should be in the May 2016 release. Thanks! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16285 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian.maurice@biblibre.com Status|Pushed to Master |RESOLVED Resolution|--- |FIXED Depends on| |15206 --- Comment #5 from Julian Maurice <julian.maurice@biblibre.com> --- Not needed in stable versions, status changed to RESOLVED Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15206 [Bug 15206] Show patron's age when filling date of birth in memberentry.pl -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org