[Koha-bugs] [Bug 23625] ArticleRequestsMandatoryFields* only affects field labels, does not make inputs required

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 17 21:49:25 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23625

Kyle M Hall <kyle at bywatersolutions.com> changed:

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

--- Comment #5 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 92923
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=92923&action=edit
Bug 23625: ArticleRequestsMandatoryFields* only affects field labels, does not
make inputs required

Test plan:

1. Enable article requests ( syspref: ArticleRequests => Enable, Circ and fine
rules ALL/ALL (or a given category/itemtype): Article requests => Yes )
2. Set one or more fields to require in the ArticleRequestsMandatoryFields,
ArticleRequestsMandatoryFieldsItemOnly, and/or
ArticleRequestsMandatoryFieldsRecordOnly settings (all these settings are
affected in the same manner)
3. Search for a title and select the "Request Article" button from the OPAC
search results
4. Authenticate as a patron
5. Neglect to fill out at least one of the mandatory fields
6. Select the "Place Request" button at the bottom of the form
7. The form submits despite the empty mandatory fields
8. Apply patch
9. Repeat steps 3, 5, & 6
10 . The form should refuse to submit, show a browser-native message about the
missing required fields.

Sponsored-by: California College of the Arts

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list