-
Notifications
You must be signed in to change notification settings - Fork 124
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
Address "alternate_title" confusion #4318
Comments
|
i'm not sure that the addition of fields that are single-valued at the model layer are terminally fragile when implemented over Fedora. since Fedora doesn't have a concept of single-valued fields, any read-write cycle runs the risk of deleting arbitrary data for "single valued" fields. the work @blancoj did originally addressed this issue in order to support "single valued" titles for the form, even though the model still treats titles as multi-valued. i don't think pushing "extra" titles into from a feature standpoint, Core Metadata with multi-valued titles is relatively easy to extend to handle language tagged titles; e.g. <> dct:title "Comet in Moominland"@en .
<> dct:title "Mumintrollet på kometjakt"@sv . making |
Is dct:alternative not actually being used for what was additional dct:title's previously? It sounds like multiple titles that were previously created are being managed in the form through the alternate-title form field but are not being stored as dct:alternative. Is that correct? |
I think the standard (qualified dublin core?) should be implemented as far as titles and alternate titles goes. We need to be able to specify, store, edit multiple titles and multiple alternate titles. This means having those values in the edit menu so they can be input or modified, the same as the rest of the meta data. Interpreting what that means, what to do with those fields, viewing them, displaying them is a completely different topic. Offer a basic display, 1 title - the first title input, alternate titles in a field display somewhere at the top of the object display. Whoever is using the application can modify that view to their needs. My group uses alternate titles so I need to be able to input them and edit them. However, I don't know yet what that means in terms of the final displays. |
that's right. what you see referred to as
yes; previously created titles and titles created by tools other than the default Hyrax work form (e.g. batch importers, other software interacting with Fedora). (this is where a product owner would be very helpful)
a decision was made with the most recent round of Hyrax BasicMetadata revisions (cc: @samvera/hyrax-metadataists) to make the default forms treat i think the immediate, release-blocking scope of this ticket is to fix the implementation in does that seem correct? |
I agree that it makes sense to leave title in the default form as a single-valued field and not make any changes to that field arrangement. Since the hidden field is for those additional titles (and is stored as additional And if none of this is using |
Comment by @j-dornbusch in PR #3554
|
This is causing a breakage in our migration to 3.0. We do not include basic metadata in our work and collection models. So attempts set I was looking at making a PR with a quick check for
I'm going to monkey patch locally for now pending the results of this discussion. |
@no-reply I marked this issue as a blocker for the release of 3.0. This will cause technical dept that will complicate a potential fix in future releases. It would be best to have a definitive solution in place for this that addresses the concerns of the community prior to the 3.0 release. |
### Description Fix bug where `@attributes["alternative_title"] << value` throws an exception because `@attributes["alternative_title"]` is nil. This happens when a model does not include basic metadata causing alternative_title to not be defined. ### Related work: * Issue #4318 - reconsidering impact of PR #3554 * PR #3554 - separates multiple titles into title and alternative titles
### Description Fix bug where `@attributes["alternative_title"] << value` throws an exception because `@attributes["alternative_title"]` is nil. This happens when a model does not include basic metadata causing alternative_title to not be defined. ### Related work: * Issue #4318 - reconsidering impact of PR #3554 * PR #3554 - separates multiple titles into title and alternative titles
Based on an initial question:
We have a commit that introduces "alt_title". It appears that the purpose of the "alt_title" is to help us treat "title" as a single field, but not lose any excess entries.
Looking at c2bc31326d, we see handling the excess. Later, in 854d66c0de we see that introduced
alt_title
properties is aligned closer toalternate_title
. However, thealternate_title
in the form-field does not appear related toalternative_title
the metadata field.This needs detangling. Further confounding the issue, when we look at the tags that contain the original @c2bc31326d commit we have:
Further digging, highlights that while there is a tag for v2.5.2, there is no minted version in rubygems.org for v2.5.2
What this means is that there are no production releases that include the confusion of the
alt_title
The text was updated successfully, but these errors were encountered: