-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
🎁 Create transaction steps for anything custom in the actor stack #84
Labels
Comments
List of transactions we may need: GenericWork && Image
when IiifPrint is enabled
Collectionsref: https://github.com/samvera/hyku/blob/main/app/models/collection.rb#L9-L10
|
ShanaLMoore
pushed a commit
to samvera/hyku
that referenced
this issue
Jan 9, 2024
Create change set for Generic Work and a TitleValidator. Enforce the validator with generic_work_resource_cs = ChangeSet.new(GenericWorkResource.new). generic_work_resource_cs.valid? => false generic_work_resource_cs.errors.messages => => {:title=>["can't be blank", "Your work must have a title."]} Issue: - notch8/hykuup_knapsack#84 Docs: - https://github.com/samvera/valkyrie/wiki/Persisting-changes-through-synchronization#successfully-change-and-save
ShanaLMoore
pushed a commit
to samvera/hyku
that referenced
this issue
Jan 9, 2024
Create change set for Generic Work and a TitleValidator. Enforce the validator with generic_work_resource_cs = ChangeSet.new(GenericWorkResource.new). generic_work_resource_cs.valid? => false generic_work_resource_cs.errors.messages => => {:title=>["can't be blank", "Your work must have a title."]} Issue: - notch8/hykuup_knapsack#84 Docs: - https://github.com/samvera/valkyrie/wiki/Persisting-changes-through-synchronization#successfully-change-and-save
This was referenced Jan 9, 2024
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Summary
Review any callbacks for the models/controllers. Make a custom transaction step equivalent so that the model's resource can implement the same actions.
ref:
Acceptance Criteria
Testing Instructions
TBD
Notes
https://github.com/samvera/valkyrie/wiki/Defining-change-set-validations
https://docs.google.com/document/d/1WCB-5qIDCGhMQSuAzM70MDIuP4EQJhtnvgZt2x8MS4o/edit
https://drive.google.com/file/d/1oSLVhSF34JUgJBni9kN7FhPuOao5XSfz/view?usp=sharing
The text was updated successfully, but these errors were encountered: