Problem
IRI fields with trailing slash are rendered empty in the UI and in the RDF preview, but they do end up correctly in the triple store.
How to reproduce
- run
compose/fdp/ephemeral/v1
- visit http://localhost in the browser
- log in as default admin
- click "Edit"
- click "View RDF"
- fill out an empty IRI form field, e.g.
Rights, with value http://example.com
- observe the expected result in the RDF preview:
dct:rights <http://example.com>;
- now add a trailing slash, as in
http://example.com/
- observe the error in the RDF preview:
- click "Save"
- observe that the resulting value does pass validation (there are no validation errors), but the field shows up empty in the UI:
- click the "ttl" button to view the actual RDF
- observe that the field value does show up properly in the final RDF obtained from the triple store:
dcterms:rights <http://example.com/>;
- (also note the discrepancy in prefixes:
dct: in preview, dcterms: in final result)
Problem
IRI fields with trailing slash are rendered empty in the UI and in the RDF preview, but they do end up correctly in the triple store.
How to reproduce
compose/fdp/ephemeral/v1Rights, with valuehttp://example.comdct:rights <http://example.com>;http://example.com/dcterms:rights <http://example.com/>;dct:in preview,dcterms:in final result)