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

DEPRECATION WARNING: Blacklight::Base is deprecated and will be removed in Blacklight 8.0.0 #3508

Open
JeremyDuncan opened this issue Feb 6, 2025 · 1 comment

Comments

@JeremyDuncan
Copy link

Does anyone know the best way to resolve this deprecation warning? I tried including Blacklight::Configurable and Blacklight::SearchContext like the warning described but that did not resolve the issue. I tried to include those in the catalog_controller. Is there another location they should be added? I'm working with blacklight (7.36.2) trying to prepare for 8.0.0.

DEPRECATION WARNING: Blacklight::Base is deprecated and will be removed in Blacklight 8.0.0. 
Include Blacklight::Configurable and Blacklight::SearchContext as needed (included in Blacklight::Catalog). 
(called from include at /usr/local/bundle/ruby/3.2.0/gems/blacklight 7.36.2/app/controllers/concerns/blacklight/catalog.rb:9)
@jcoyne
Copy link
Member

jcoyne commented Feb 6, 2025

I suspect this warning is coming erroneously from Blacklight itself. You can confirm this by ensuring you don't have Blacklight::Base in your local code.

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