-
Notifications
You must be signed in to change notification settings - Fork 71
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
"Rights" field should have a maximum length greater than 255 characters #1636
Comments
We should definitely change the default. Whether or not we provide an update hook ended ambiguously at the end of the last tech call. Personally I don't think it's neccessary given the nature of defaults and we're probably gonna break this big thang up anyway. But if we feel we must: https://evolvingweb.ca/blog/resizing-fields-drupal-8-without-losing-data Seems pretty straighforward. If we do go that route, some of this could probably be generalized into utility functions. |
Gonna throw a wrench in this... Shouldn't the rights field be machine readable, or in Drupal terms just an entity reference? Then you can have terms setup for Rights Statements, Creative Commons, and Tradional Knowledge Labels for example? That'd probably hit #1234 as well, at least partially. If there is a need for prosey rights statements or extra contextual metadata, those should just be a note based on my understanding of the RightsStatements.org Whitepaper, and displayed above the field. |
So, yes and no. A lot of these default configs are designed to catch fields coming from Islandora 7 where this sort of field was free-text. We need to be able to catch whatever text folks already have in that field (which is why it needs to be longer). Although, following that thread, it should probably also be a formatted text field. Here at UNLV, we have both a formatted text field with a default rights statement blurb that is specific to our Special Collections and Archives, but we also have a "Standardized Rights Statement" entity reference field to a rights statement taxonomy vocabulary. So, this field should stay free-text, but there is nothing stopping anyone from implementing a rights statement field in addition to or in place of it locally. |
Rights has been changed in Islandora Starter Site to text (formatted, long). Agreed many folks will want a relation field (creative commons, rightstatements) but we're leaving that to the implementer. |
The "Rights" field (
field_rights
) created by Islandora Defaults has a maximum length of 255 characters. It's likely that many repositories will want a longer field. We may also want to change the field type from "Text (plain)" to "Text (plain, long)" to make its UI element be a text area instead of a single-line text field.The text was updated successfully, but these errors were encountered: