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

Fix deprecation warnings before upgrading to 7.2 #1153

Open
wendelfabianchinsamy opened this issue Mar 12, 2024 · 2 comments
Open

Fix deprecation warnings before upgrading to 7.2 #1153

wendelfabianchinsamy opened this issue Mar 12, 2024 · 2 comments
Assignees

Comments

@wendelfabianchinsamy
Copy link
Contributor

wendelfabianchinsamy commented Mar 12, 2024

DEPRECATION WARNING: Activity model aliases uid, but uid is not an attribute. Starting in Rails 7.2, alias_attribute with non-attribute targets will raise. Use alias_method :doi_id, :uid or define the method manually.

DEPRECATION WARNING: Metadata model aliases doi_id, but doi_id is not an attribute. Starting in Rails 7.2, alias_attribute with non-attribute targets will raise. Use alias_method :datacite_doi_id, :doi_id or define the method manually.

@digitaldogsbody
Copy link
Member

@wendelfabianchinsamy is this completed? I was getting these warnings yesterday when running the rspec suite in my local container.

@wendelfabianchinsamy
Copy link
Contributor Author

@wendelfabianchinsamy is this completed? I was getting these warnings yesterday when running the rspec suite in my local container.

@digitaldogsbody looks like I did not do this but closed the issue. I will reopen and fix. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants