---- Reported by email@example.com 2009-06-10 21:01:28 ----
The add patron screen should give a message (instead of a cryptic mysql borrowernumber=0 error) when a new koha user tries to add a patron but has no libraries defined.
Additionally, should give an error message when a user tries to add a patron but has no patron types defined.
Currently both conditions give inadequate or nonexistant errors.
---- Additional Comments From firstname.lastname@example.org 2009-06-10 21:05:16 ----
I might suggest a workaround that includes setting the default IntranetmainUserblock preference to include instructions to work through the administration area before trying to do any work (and a pointer to how to remove the message).
--- Bug imported by email@example.com 2010-05-21 01:09 UTC ---
This bug was previously known as _bug_ 3319 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3319
Actual time not defined. Setting to 0.0
Created attachment 2548 [details] [review]
- Hiding patron add toolbar when branches or categories are undefined
- Blocking patron entry form if branches or categories are undefined
- Removing nonfunctional template logic for displaying missing category error message.
Original patch will probably not apply cleanly anymore. A revised version of
this fix can be found here: http://gitorious.org/koha-dev/koha-dev/commits/ps-Bug-3319-members-no-branch-error-2010-08-17
Created attachment 2970 [details] [review]
Revised for current HEAD
Pushed please test
This bug is mentioned in:
Fix for Bug 3319 - Need error message when adding patron and libraries are defined http://lists.koha-community.org/pipermail/koha-patches/2011-January/013571.html