Skip to content
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

Replace #lease_release_date with #lease_expiration_date #360

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

ShanaLMoore
Copy link
Contributor

#lease_release_date is not a valid method so threw an error when running jobs to create relationships. Replace method with #lease_expiration_date.

Valid lease methods include:

parent_work.lease.methods.grep(/lease/)=>
[:visibility_after_lease=,
 :lease_history=,
 :lease_expiration_date,
 :lease_expiration_date=,
 :lease_history,
 :visibility_after_lease,
 :visibility_during_lease,
 :visibility_during_lease=]

Story

Jobs seemed to have split but create relationships failed, so it doesn't look like it worked.

ref

Screenshots / Video

Error from the server
image (68)

Notes

#lease_release_date is not a valid method so threw an error when running jobs to create relationships. Replace method with #lease_expiration_date.

Valid lease methods include:

```
parent_work.lease.methods.grep(/lease/)=>
[:visibility_after_lease=,
 :lease_history=,
 :lease_expiration_date,
 :lease_expiration_date=,
 :lease_history,
 :visibility_after_lease,
 :visibility_during_lease,
 :visibility_during_lease=]
```
@ShanaLMoore ShanaLMoore merged commit fb07dcd into main Jun 24, 2024
9 of 10 checks passed
ShanaLMoore added a commit to samvera/hyku that referenced this pull request Jun 24, 2024
pulls in fix for undefined method
ref:
- scientist-softserv/iiif_print#360
ShanaLMoore added a commit to samvera/hyku that referenced this pull request Jun 24, 2024
pulls in fix for undefined method
ref:
- scientist-softserv/iiif_print#360
ShanaLMoore added a commit to scientist-softserv/palni_palci_knapsack that referenced this pull request Jun 24, 2024
pulls in fix for undefined method. #lease_release_date is not a valid method so threw an error
ref:
- scientist-softserv/iiif_print#360
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants