[Koha-bugs] [Bug 7013] required format is not enforced for authorized values

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 5 14:17:32 CET 2011


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

Adrien SAURAT <adrien.saurat at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #6577|0                           |1
        is obsolete|                            |

--- Comment #5 from Adrien SAURAT <adrien.saurat at biblibre.com> 2011-12-05 13:17:32 UTC ---
Created attachment 6579
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6579
patch

Diff show a lot of modified lines because the indentation of a few blocks
changed, but I actually added a just few lines.

What I did :
- added the regex "$new_authorised_value =~ /^[a-zA-Z0-9\-_]+$/" to allow only
letters, numbers, dash and underscore for a new value;
- added a new hint next to the input box;
- added a new error message when the user types an incorrect value.

Also removed a few trailing spaces (they caused warnings when applying the
patch).

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list