http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15535

Marc Véron <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Marc Véron <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to