Summary: | borrowers.branchcode cannot be null | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | Patrons | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Marcel de Rooy <m.de.rooy> |
Severity: | normal | ||
Priority: | P5 - low | CC: | chris, gmcharlt, kyle.m.hall, m.de.rooy |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 10053: borrowers.branchcode cannot be null
Bug 10053: borrowers.branchcode cannot be null Bug 10053: borrowers.branchcode cannot be null |
Description
Jonathan Druart
2013-04-15 12:26:47 UTC
Created attachment 17450 [details] [review] Bug 10053: borrowers.branchcode cannot be null The DB field borrowers.branchcode cannot be null (`branchcode` varchar(10) NOT NULL default ''). However, an empty value can be selected on creating/updating a patron. Test plan: - Add or edit a patron and choose the empty value for library (branchcode). - Save (pref BorrowerMandatoryField must not contain branchcode). - Mysql raises an error. - Apply the path. - Check that you are not able to select no library. Created attachment 17486 [details] [review] Bug 10053: borrowers.branchcode cannot be null The DB field borrowers.branchcode cannot be null (`branchcode` varchar(10) NOT NULL default ''). However, an empty value can be selected on creating/updating a patron. Test plan: - Add or edit a patron and choose the empty value for library (branchcode). - Save (pref BorrowerMandatoryField must not contain branchcode). - Mysql raises an error. - Apply the path. - Check that you are not able to select no library. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Created attachment 17799 [details] [review] Bug 10053: borrowers.branchcode cannot be null The DB field borrowers.branchcode cannot be null (`branchcode` varchar(10) NOT NULL default ''). However, an empty value can be selected on creating/updating a patron. Test plan: - Add or edit a patron and choose the empty value for library (branchcode). - Save (pref BorrowerMandatoryField must not contain branchcode). - Mysql raises an error. - Apply the path. - Check that you are not able to select no library. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> QA Comment: One line patch solves an error that was not reported in the interface (but seen in the log). Passed QA This patch has been pushed to master and 3.12.x. Does not apply to 3.10.x |