[Koha-bugs] [Bug 15535] can't call method "default-privacy" on an undefined value /usr/share/koha/lib/c4/members.pm line 753
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 11 17:06:38 CET 2016
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15535
Marc Véron <veron at veron.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |veron at veron.ch
--- Comment #2 from Marc Véron <veron at veron.ch> ---
Testing:
If PatronSelfRegistrationDefaultCategory is empty, the link for self
registration is not displayed in OPAC
If PatronSelfRegistrationDefaultCategory is set to a category that does not
exist, the error can be triggered.
It happens as well if there is a leading space char by mistake. Example with a
valid category PT:
[PT] -> OK
[PT ] -> OK (one or more trailing space chars)
[ PT] -> Software error (Leading space char)
[ ] -> Software eror (one or more space chars)
Maybe we could
- validate the syspref field for not having leading spaces or spaces only
- give some more explanation in the syspref descriptions for
PatronSelfRegistration depending on a correct value for
PatronSelfRegistrationDefaultCategory
- add a warning on the about page (tab system information) if
PatronSelfRegistration is set and PatronSelfRegistrationDefaultCategory is
wrong or does not exist
- not display the self registration link if PatronSelfRegistration is set and
PatronSelfRegistrationDefaultCategory is wrong or does not exist
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list