You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug #565 cleaned up saving of URIs in form fields, and also introduced ValidUri to validate the values in the form. Saving URIs works as expected, but when I try to save a string, I get a Rails error, and not the nicer error message on the form. Tests got updated to handle this, and I'm not sure how what I'm doing is different exactly.
To Reproduce
Steps to reproduce the behavior:
Edit a Term
In SameAs field, type some text like 'Buxton Hall' (not a URI)
Click 'Update Term'
Rails error: could not make a valid RDF::URI from Buxton Hall
Expected behavior
Error message appears as part of form saying the entered string is not a valid URI.
Describe the bug
#565 cleaned up saving of URIs in form fields, and also introduced ValidUri to validate the values in the form. Saving URIs works as expected, but when I try to save a string, I get a Rails error, and not the nicer error message on the form. Tests got updated to handle this, and I'm not sure how what I'm doing is different exactly.
To Reproduce
Steps to reproduce the behavior:
could not make a valid RDF::URI from Buxton Hall
Expected behavior
Error message appears as part of form saying the entered string is not a valid URI.
Screenshots
Related work
#565
The text was updated successfully, but these errors were encountered: