Closed (fixed)
Project:
Juicebox HTML5 Responsive Image Galleries
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Mar 2019 at 00:22 UTC
Updated:
19 Feb 2022 at 17:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sergiu stici commentedHere is the patch, please review.
Comment #4
karishmaamin commentedPlease review the code
Comment #5
xem8vfdh commentedis this ready to be merged?
Comment #6
xem8vfdh commentedI believe there is also acomposer.jsonchange that should be made to add the Drupal 9 support badge to the module's main page, as explained here: https://www.drupal.org/project/auto_entitylabel/issues/3111526EDIT: or perhaps the change needs to be made to thecore_version_requirementfield in the module's.infofile. Here's an example from another project: https://www.drupal.org/files/issues/2020-03-12/3119389-d9-upgrade-2.patchEDIT 2: my information about composer.yml and info.yml was incorrect, sorry. Apparently there is some switch the maintainer can flip to trigger the badge and mark the module as D9 compatible, but I don't know where that switch is since I am not a maintainer. Sorry.
Comment #7
xem8vfdh commentedComment #8
xem8vfdh commented@karishmaamin, when I applied your patch and then ran drupal-check, I detected two remaining issues:
I've attached interdiff_3042821-5.patch to fix this (full patch is updated-3042821-5.patch):
Comment #9
xem8vfdh commentedComment #10
xem8vfdh commentedfor those that need a replacement that's similar, drupal 9 compliant, and actively maintained, Colorbox seems like a nice option
Comment #11
handkerchiefThank you @xeM8VfDh, it's very sad that this awesome project is not really maintained...
Comment #12
neslee canil pinto@handkerchief, i have got the access to commit for Juicebox. I will be starting to commit things in prior and make a new release soon.
Comment #13
neslee canil pintoComment #14
handkerchief@Neslee Canil Pinto Thank you so much!
Because Juicebox is really the best gallery option for drupal out there.
Comment #15
neslee canil pintoYa @handkerchief, stay tuned for a release soon👍🏻
Comment #16
suresh prabhu parkala commentedRe-rolled patch please review!
Comment #17
neslee canil pintoComment #18
suresh prabhu parkala commentedComment #19
suresh prabhu parkala commentedRe-rolled patch please review. Included remaining depreacted code and 'core_version_requirement' key in .info file.
Comment #21
neslee canil pintoNeeds reroll
Comment #22
neslee canil pintoComment #23
suresh prabhu parkala commentedRe-rolled patch please review.
Comment #25
suresh prabhu parkala commentedRe-rolled patch please review.
Comment #27
fkelly12054@gmail.com commentedA couple of us have a version that started with 8.x-2.x-dev on a separate Github repository. We have invited Neslee to copy it over to a branch here. Then we can run a new Drupal 9 Deprecated Code Report and see if there are any remaining issues. We have tested the code on a couple of D9 test sites and seem to have ironed the issues ... but you never know. The release will also remove the need to use the contrib libraries module and allow use of media items in Juicebox galleries. We've done something like 139 commits since 8.x-2.x-dev.
Comment #28
neslee canil pintoGreat job @fkelly and @DK. I will be pushing a new branch for drupal 9 now👍🏻
Comment #29
neslee canil pintoNew release has been made, please test this in 8.x-3.x branch and confirm.
Comment #30
neslee canil pintoWe need more people to test the new release for drupal 9 - https://www.drupal.org/project/juicebox/releases/8.x-3.0-alpha1
Comment #31
neslee canil pintoComment #32
fkelly12054@gmail.com commentedNote that, in addition to working with Drupal 9, this release also works with the 8.9 series of Drupal Core releases.
There are users who are using 8.9x who may wish to remove the contrib module libraries dependency but also have other contrib modules which are not Drupal 9 ready. They can use this release (noting that it's at alpha level now (December 2020)) and be positioned to upgrade to Drupal 9 when their other modules are Drupal 9 ready.
There are quite a few coding fixes in the 8.x-3 release. If you don't need the contrib libraries module to support other contrib modules which have external JS libraries for instance, you can disable/remove the libraries module. Media items should now work in Juicebox galleries.
Comment #33
neslee canil pintoTagged new release https://www.drupal.org/project/juicebox/releases/8.x-3.0-alpha2 which solves Drupal 9 Deprecated Code.
Comment #35
ikeigenwijs commenteddid a composer install
this poped up again
drupal 9.3
alfa version and dev
Comment #36
fkelly12054@gmail.com commentedWhat was the syntax of your composer install?
It needs to be:
composer require "drupal/juicebox": "^3.0.0-alpha2"
or
composer require 'drupal/juicebox:^3.0@alpha'
depending on how your command line tool handles quotes. Let us know more precisely what your composer json code is and how you re applying it.
Given the crazy pace at which Drupal moves forward, and deprecates things, I would not be at all surprised if we need to go back through the code and update a number of functions. I'm trying to do that now in a copy of the test directory code I am running locally in PHPStorm using the PHPunit tests. It's not easy. I suspect the overall Juicebox code will need some significant work going thru 9.3 to 9.4 and then into Drupal 10.
But right now juicebox 3.0 alpha works with Drupal 9.3x.