-
Notifications
You must be signed in to change notification settings - Fork 126
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 contexts to the flexible metadata model. #6915
Conversation
…admin sets and then apply the contexts to the works made with that admin set selected
...tors/hyrax/templates/db/migrate/20240606205216_add_contexts_to_hyrax_flexible_schemas.rb.erb
Show resolved
Hide resolved
@@ -18,6 +18,8 @@ classes: | |||
contexts: | |||
flexible_context: | |||
display_label: Flexible Metadata Example | |||
special_context: |
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.
Corresponding changes to this profile should probably also be made in the .koppie (and possibly .dassie?) versions, as well as the spec version.
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.
A few comments in addition to the above...
- the M3 profiles in specs, .koppie, and .dassie do not match the changes in the config profile. These need to be updated
- no specs exist for the code changes here
- the migration needs to also be added to koppie & dassie
- Admin set show page should display the selected metadata context if there is one
- I was unable to save a work with the dimensions term
This is the error I got trying to save the work using the context term. I'm not certain of the cause (my app crashed badly and I had to rebuild everything), but it originates on this line and the actual failure is when it calls definitions
in the m3_schema_loader.
Co-authored-by: LaRita Robinson <laritakr@users.noreply.github.com>
Co-authored-by: LaRita Robinson <laritakr@users.noreply.github.com>
…/hyrax into context_feature_for_flex
they can be assigned on admin sets and then apply the contexts to the works made with that admin set selected