[Koha-bugs] [Bug 13399] Select a department: empty field if no description set in authorized value
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 14 04:00:25 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13399
M. Tompsett <mtompset at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #37532|0 |1
is obsolete| |
Attachment #37784|0 |1
is obsolete| |
--- Comment #10 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 37785
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37785&action=edit
Bug 13399: Missing validation on authorised value descriptions
This adds validations which force both the OPAC and Staff Client
authorized value descriptions to be filled in.
TEST PLAN
---------
1) Login to staff client
2) Koha administration -> Authorized values
3) Change drop-down to 'DEPARTMENT'
-- Assuming you have default values installed,
and DEPARTMENT exists.
4) Click '+ New authorized value for DEPARTMENT'
5) Enter a 'Authorized value:' and click 'Save'
-- This will create it without OPAC and Staff Client
descriptions! This is wrong.
6) Apply patch
7) $ ./installer/data/mysql/updatedatabase.pl
-- expecting atomic update to run.
8) Refresh staff client page
-- the descriptions should now be filled in.
9) Repeat steps 4 and 5
-- This time, you will be given two error messages
-- Nothing will be created.
10) Attempt to create a new authorized value with descriptions.
-- should save without issue.
11) Run koha qa test tools
-- SQL files are unchecked, but steps 7 & 8 confirm validity.
-- Should be no issues.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list