- Issue created by @kaszarobert
- Assigned to shubham_jain
- @shubham_jain opened merge request.
- Status changed to Needs review
over 1 year ago 1:03pm 14 September 2023 - 🇮🇳India shubham_jain
Hi, I have added required dependencies and solved the error called by once function in the custom.js.
Please review and verify.
- Status changed to Needs work
over 1 year ago 1:47pm 14 September 2023 - 🇸🇰Slovakia kaszarobert
Something is not right with that MR. If you open it, you'll see more than 9 commits and 40 changes. Are you sure you committed to the right branch? This issue now states 9.0.x-dev and the MR tries to merge things to 8.x-1.x
- 🇮🇳India shubham_jain
Hi @kaszarobert, ok will check on the branch and will push code to the right branch.
- @shubham_jain opened merge request.
- Status changed to Needs review
over 1 year ago 6:31am 15 September 2023 - Status changed to Needs work
over 1 year ago 1:00pm 18 September 2023 - 🇸🇰Slovakia kaszarobert
@shubham_jain please read about this core change in Drupal 9.2: https://www.drupal.org/node/3158256 →
They write about that up until 9.2, there was no
once()
andcore/once
, there was just the$(' ... .').once()
andcore/jquery.once
. So if you are changing that library and, that means the core_version_requirement should be ^9.2 minimum as the module's JS will break on those older Drupal versions with an undefined function error. And since Drupal 10 is not shipped with$(' ... .').once()
andcore/jquery.once
, I would suggest to change the core_version_requirement, too. And since there is another problem with other deprecated things in this module, we can't add Drupal 10 compatibility to core_version_requirement until this is done: 📌 Drupal 10 compatibility Needs review - Status changed to Needs review
about 1 year ago 5:23am 19 September 2023 - 🇮🇳India shubham_jain
Hi everyone, I have updated the PR according to the comment #10. Please review it.
- Status changed to Fixed
6 months ago 2:42pm 21 June 2024 - 🇮🇳India jigish.addweb
Added the dependencies in 3.0.x branch and we have removed the use on Once(). Thanks for the help.
Automatically closed - issue fixed for 2 weeks with no activity.