Closed (duplicate)
Project:
Views Accordion
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2019 at 18:26 UTC
Updated:
21 Oct 2022 at 05:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
manuel garcia commentedOn #3042793: Drupal 9 Deprecated Code Report it was clear that there are no deprecated apis being used in the module. More over, we ensured there that non are introduced in the future by failing tests if its the case.
So it should be pretty much ready to go, once we sort out the main blocker: #3091388: Fix deprecations including jQuery UI dependency and info.yml update
Comment #3
katherinedHere's a patch to declare D9 compatibility. I noted that $defaultTheme is added to tests in the patch over in the linked issue (#3091388: Fix deprecations including jQuery UI dependency and info.yml update), so I left it out here.
Comment #5
kristen polComment #6
kristen polThanks for the patch.
1) Read through the change record:
https://www.drupal.org/node/3070687
and the patch does follow the recommendations in there:
a) Keeps
core: 8.xb) Adds
core_version_requirement: ^8 || ^9Note that the info file will need to be updated for the 9.x code to remove #1a and update #1b to
core_version_requirement: ^8.8 || ^9.2) Confirmed @katherined's comment about the deprecation notice from the failing tests:
The patch in https://www.drupal.org/project/views_accordion/issues/3091388#comment-13... has
$defaultThemeset:protected $defaultTheme = 'stark';3) Patch applies cleanly:
This is RTBC'ed but needs the code from #3091388: Fix deprecations including jQuery UI dependency and info.yml update committed first for tests to pass.
Comment #7
kristen polComment #8
kristen polWhoops :)
Comment #9
kapilv commentedComment #10
kapilv commentedComment #11
kapilv commentedComment #12
kristen pol@kapilkumar0324 Why did you add a new patch? It was not necessary. And you can't RTBC your own patch. Marking postponed until the other patch is committed.
Comment #13
manuel garcia commentedRe #12 I think @kapilkumar0324 was trying to get the patch green. However on #3 it was clearly said that we were leaving adding the
protected $defaultThemeto #3091388: Fix deprecations including jQuery UI dependency and info.yml update so it was indeed unnecessary.I haven't tested all this properly, but my understanding is that we are going to require at least core version 8.7 due to the move of the jquery ui library... should we change this line then?
Comment #14
manuel garcia commentedClosing in favour of #3091388: Fix deprecations including jQuery UI dependency and info.yml update since it ends up we need to do both at the same time.
Comment #15
valen0797 commenteddrupal 9 compatibility patch uploaded
Comment #16
valen0797 commentedfix patch
Comment #17
valen0797 commentedComment #18
kristen pol@valen0797 This issue was closed more than 2 years ago and the module is already compatible with Drupal 9.