-
Notifications
You must be signed in to change notification settings - Fork 118
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
Add 'Original Name' field storage #735
Conversation
@seth-shaw-unlv Travis is failing with a "No such feature is installed: islandora_core_feature" error. Can you take a look? |
@mjordan, I neglected to remove the field_permissions dependency Features included. It should build now. |
Cool, I'll re-pull so I can test on the plane 😄 |
Still failing, this time on what appears to be a crayfish dependency issue. |
@mjordan, yeah, we've been chatting about that on Slack. It needed a PR that is now merged. Should be ready to rebuild now. 🤞 |
Getting the following when I try to import the features. I'm in the
|
@mjordan, you need to |
|
Sorry, will try again this evening. |
Works as advertised. However, the Original Name field is of type "Text (plain, long)", with 5 rows. Shouldn't it be "Text (plain)"? |
Generally the 255 characters provided by a string field is enough to support a file name based on the max limit for modern filesystems. However, users may also want to include original path information as part of the field's value, so I opted for string_long which can support several thousand characters. |
Fair enough! |
@Islandora/8-x-committers I've tested this and am ready to merge, but does anyone feel like we need to autopopulate the field at this point? Or is it OK if that's a subsequent PR? |
@mjordan Merging is fine by me 🙇♂️ We can keep Islandora/documentation#1276 open for someone to reference when they follow up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with Islandora/islandora_defaults#13, works as intended.
Github Issue: Islandora/documentation#1276
What does this Pull Request do?
Adds the PREMIS 3 namespace and creates the field storage for an 'original name' field for media.
How should this be tested?
drush fim -y islandora_core_feature; drush fim -y islandora_defaults
Additional Notes:
We should eventually figure out how to auto-populate this from the file upload widget.
Interested parties
@mjordan, @Islandora/8-x-committers