[Koha-bugs] [Bug 10237] Enforce authorized value character limitations

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 26 09:42:04 CEST 2013


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

--- Comment #11 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to Jonathan Druart from comment #8)
> (In reply to comment #5)
> > Hm, thinking more about this - there are values where this won't work so
> > nicely - one of them is MANUAL_INV. The code is the value that will be shown
> > for your custom fee type and therefore enforcing upper case, no spaces and
> > no umlauts would not be good.
> 
> I confirm that many values contain spaces (I found '|', '(', ')', '-', '/'
> too).
> Marked as Failed QA.

Hum... forget that, I don't know how I found that...

On my side, I found SUGGEST and LOC:

installer/data/mysql/fr-FR/marcflavour/unimarc_lecture_pub/Obligatoire/framework_DEFAULT.sql:INSERT
INTO `authorised_values` (`id`, `category`, `authorised_value`, `lib`) VALUES
(144, 'SUGGEST', 'Pas assez de budget', 'Pas assez de budget');

installer/data/mysql/fr-FR/1-Obligatoire/authorised_values.sql:INSERT INTO
`authorised_values` ( `category`, `authorised_value`, `lib`) VALUES ( 'LOC',
'Salle de lecture', 'Salle de lecture');

I think it is not correct and the authorised_value field should be a code. But
they exist as it in sample data.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list