[Koha-bugs] [Bug 11806] Use validation plugin when creating new OAI set

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 20 22:11:47 CET 2014


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 25525
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25525&action=edit
Bug 11806 - Use validation plugin when creating new OAI set

The form for adding a new OAI indicates that two fields are
required but does nothing to enforce this rule. This can be
handled client-side with HTML5 validation attributes and Koha's built-in
validation plugin. This patch implements this.

To test, apply the patch and go to Administration -> OAI sets
configuration -> New set. Try submitting the form without entering a
setSpec and/or setName. Doing so should trigger a validation warning.

Submission of the form with valid data should work correctly. Editing an
existing set should also work correctly.

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


More information about the Koha-bugs mailing list