Add other resources part to NonRdfSourceDescription HTML template #2046
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JIRA Ticket: https://fedora-repository.atlassian.net/browse/FCREPO-3904
What does this Pull Request do?
You can have a hash uri in the metadata of a binary. It displays except when you view the HTML UI. This is because the velocity templates don't currently display these other properties.
How should this be tested?
Create a binary and update the metadata with a hash uri.
i.e.
View the binary description RDF as non-HTML
> curl -ufedoraAdmin:fedoraAdmin -v http://localhost:8080/rest/test_image/fcr:metadata
and view it through a web browser at the URL
Before the PR, you will see the
<http://localhost:8080/rest/test_image#somePart> <http://purl.org/dc/elements/1.1/title> "Some part" .
triple in the non-HTML, but in your web browser it will be missing.Stop Fedora.
Pull in the PR and build it.
Restart your Fedora.
In the browser you will now see "Some part" under "Other Resources", the non-HTML is unaffected.
Interested parties
Tag (@ mention) interested parties or, if unsure, @fcrepo/committers and @tomcbe