Closed jendiamond closed 4 years ago
Hi @jendiamond, thanks for opening the issue. There's been some conversation about getting a new release of the range_limit plugin out in the slack at code4lib: There's been a release candidate since July, but no one has been able to push 7.0.0 plugin release since the Blacklight release.
You might try to use the RC: https://rubygems.org/gems/blacklight_range_limit/versions/7.0.0.rc2
Your feedback might help push the release out the door!
Hi @barmintor,
Doesn't this error seem as though the thing blocking my app from loading is in the blacklight code and not ours.
I'd really love to get this update working for our team so we can handle some of our accessibility issues.
To me your error message seems like it's coming from the blacklight_range_limit code, which is trying to use BL6 APIs. But you have to change your dependencies to use a newer version of the range limit plugin.
Cool, thanks @barmintor. I will try that.
I checked and it seems like blacklight_range_limit 6.3.3
is the most current release.
https://github.com/projectblacklight/blacklight_range_limit/releases
Am I missing something else?
I just realized that you said blacklight_range_limit/versions/7.0.0.rc2
. I thought you were saying update to the RC of Blacklight which didn't make any sense.
I updated the range_limit gem and now I have bootstrap errors. Which seems like a step in the right direction!
Any advice about updating the Bootstrap?
Not off the top of my head - what are the errors you're seeing?
There's a very helpful upgrade guide here: https://getbootstrap.com/docs/4.0/migration/
Also please checkout and contribute to: https://github.com/projectblacklight/blacklight/wiki/Bootstrap-3-to-4-Migration-Guide
A blacklight_range_limit 7.0.0 has been released. I have not tried it and don't know anything about it myself.
Is this ticket still relevant, or is it taken care of?
My Goal:
I am trying to update to 7.0.0 so I can use the new and changeable alt tag.
(I want the alt tag for the thumbnails to be either "thumbnail" or the Title of the image, whichever is best for accessibility. I read that the older versions of Blacklight don't support that but the new ones do.)
So I updated the gem and my app completely broke.
@jcoyne told me that
Blacklight::Utils
was removed in 7.0. It provided support for Rails 4, which is not supported in Blacklight 7.Once I commented out the
Blacklight::Utils
app/models/user.rb
My app runs again but I still have an error which looks like it doesn't like the new include tag,
include Blacklight::DefaultComponentConfiguration
.I now get this error:
Then, I commented out the
include Blacklight::DefaultComponentConfiguration
in theapp/controller/catalog/controller
and I added these configs at the bottom of theapp/controller/catalog/controller
page as per the release instructions.New Error
I believe this has to do with using the range gem
blacklight_range_limit 6.3.3
Is that gem now included in blacklight and therefore the app breaks because of it?
Is it too soon to upgrade?
I was wondering if I should try your newest release which is v6.19.2 ?
If anyone has the time to walk through an upgrade with me I can contribute to the documentation with the issues that arise.