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

🐛 Hardcode Blacklight.repository_class #230

Closed
wants to merge 1 commit into from

Conversation

kirkkwang
Copy link
Contributor

We're seeing this error sometimes in the worker:

RuntimeError (The value for :adapter was not found in the blacklight.yml config)

This patch will make the Blacklight.repository_class to be hardcoded to Blacklight::Solr::Repository to see if it fixes the issue.

We're seeing this error sometimes in the worker:
```
RuntimeError (The value for :adapter was not found in the blacklight.yml config)
```

This patch will make the `Blacklight.repository_class` to be hardcoded
to `Blacklight::Solr::Repository` to see if it fixes the issue.
@kirkkwang kirkkwang marked this pull request as draft February 4, 2025 21:15
@kirkkwang kirkkwang marked this pull request as ready for review February 4, 2025 22:28
@ShanaLMoore
Copy link
Contributor

This fixes the issue, as tested in pals staging, but we don't understand why it think it's missing. blacklight.yml has adapter hard coded to :solr so this seems like a safe change. This issue only happens in pals staging, not locally and not in hyku staging.

@kirkkwang kirkkwang closed this Feb 5, 2025
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

Successfully merging this pull request may close these issues.

2 participants