-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collection AIP api does not expect nil description, but we have many like this. #3117
Comments
ArgumentError: Statement #<RDF::Statement:0x75e04(http://era.ualberta.localhost/aip/v1/collections/a93cbb63-4bb2-4deb-a952-c96c4c851c8c http://purl.org/dc/terms/description nil .)> is incomplete @ualbertalib/metadata-team, if a collection doesn't have a description, can I leave it out of the AIP?
Another related question. If a collection description contains markdown, should the AIP contain the markdown, how it would render as HTML, or should that markdown be stripped so that the AIP description is just plain text?
|
Thanks @pgwillia If there is no description then it can be left out. In terms of the markdown, what we really want here is the content as opposed to the display per se. That said, if there is a link to something external it would be ideal to be able to keep the url even if it doesn't display as a hyperlink. Hope that helps! |
@sfarnel Thanks for the quick response! I'm hearing that we want the content, including the links. The best solution that matches this is the first example with what the user creates as the description for the collection, not what the user sees on the collection page. If it's okay I'll go with this.
|
Thanks @pgwillia This looks good to me |
Deployed into production! |
View details in Rollbar: https://rollbar.com/ualbertalib/jupiter/items/1678/
The text was updated successfully, but these errors were encountered: