-
Notifications
You must be signed in to change notification settings - Fork 51
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
Provide default required metadata in IIIF manifest for newly uploaded media #6001
Comments
As long as a user has not moved past the file upload screen they can upload multiple files. The validations on the media object are only activated after the file upload step has been "completed", so when the user has hit the "Continue" button and moved to the resource description page. We could potentially expand that so users can always attach more files but that would take some thought on how to do the rework and should be its own ticket if we want to look into it. |
@masaball I see one potential tweak here. After uploading a single item, there is a section with a blank title. After uploading 2 items, the file names populate the sections. Is it possible to populate the section title when the first item is uploaded? |
I still see an empty label for the first section of a new blank item on avalon-dev (https://avalon-dev.dlib.indiana.edu/media_objects/z316q162x): |
The fallback is to use the MediaObject title, which blank new item lacks... Could add a secondary fallback to use the media object or master file id? |
ID would work, but ideally I'd like to have the fallback be the filename of the media for the section. I've created #6109 for adding the original filename as a separate masterfile property, and added a todo for adding that value to manifest generation when section label isn't present. I think this issue can be closed now. |
Description
When a file is uploaded into Avalon from the web, and the user tries to preview the page before adding any descriptive metadata, Ramp gives an error:
This error is due to Ramp was missing manifest.label which I'm guessing is Title in the manifest's metadata which wasn't in the manifest. The labels in the structure were also null.
Prior to 7.8, when a media file had been uploaded, but no metadata added, the preview page would have a default title and date displaying. These default values did not populate into the Resource Description section when editing the item.
Questions
Done Looks Like
The text was updated successfully, but these errors were encountered: