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

--- Comment #4 from David Nind <[email protected]> ---
Created attachment 207266
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207266&action=edit
Bug 43362: Validate URIs on items

Introduce URI validation with URI.js for the relevant field on items, in
line with the validation on biblios.

Test plan:
1.  Apply patch.
2.  Navigate to a biblio with items, navigate to its "Items" tab, and
    edit one of the items.
3.  Set the item's URI field (u) to an invalid URI, such as "urn::fake".
4.  Press "Save changes", and verify you are asked to confirm saving
    with an invalid URI field.
5.  Cancel saving, and verify the URI field is highlighted.
6.  Press "Save changes", this time confirming saving with an invalid
    field. Verify the save is successful.
7.  Return to editing the item, and this time specify a valid URI, such
    as "https://example.com";.
8.  Press "Save changes", and verify the item is saved without need to
    confirm an invalid field.

Sponsored-by: Rijksmuseum, Netherlands
Signed-off-by: David Nind <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to