Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Adding a patch for D9 compatibility
Comment | File | Size | Author |
---|---|---|---|
#10 | 3091218-drupal-9-compact-10.patch | 1.43 KB | dan2k3k4 |
Comments
Comment #2
gbyte CreditAttribution: gbyte as a volunteer and at gbyte commentedComment #3
tomvanetten CreditAttribution: tomvanetten as a volunteer commentedThis patch seems fine and works as expected in drupal 9. Approved !
Comment #4
gbyte CreditAttribution: gbyte as a volunteer and at gbyte commentedIs this test expected to fail for D9? This is the first time I set the test runner to use D9 so no idea where things are right now.
Comment #5
dan2k3k4 CreditAttribution: dan2k3k4 at Amazee Labs commented@gbyte.co hmm, I think it should pass - perhaps the core tag needs to be bumped to 9x for the test runner?
I am just currently trying to get all modules for one project to be "D9 ready" so that I can update the site to D9 dev channel, so I've sent similar "fix" for a couple other modules:
- https://www.drupal.org/project/upgrade_status/issues/3091221
- https://www.drupal.org/project/address/issues/3091232
Comment #6
tomvanetten CreditAttribution: tomvanetten as a volunteer commentedcomposer cannot require the module as the module without the patch is not d9 compatible, and the patch is applied after requiring the module. So it seems a bit of a catch 22 story to me, we require a module to patch in a d9 installation, but the module is not d9 compatible w/o the patch.
Also this is my first time seeing the d9 runner, other contribs were satisfied with a d8 runner and went on. (even before the d9 runnen was available)
Comment #7
tomvanetten CreditAttribution: tomvanetten as a volunteer commentedComment #8
gbyte CreditAttribution: gbyte as a volunteer and at gbyte commentedAs I mentioned above same goes for me.
This statement does not make much sense. Also I can't imagine these 'contribs' being satisfied with a one-liner patch, I'd say they were merely tolerating it. ;)
Comment #9
gbyte CreditAttribution: gbyte as a volunteer and at gbyte commentedI am guessing submodules need to have that tag as well?
Comment #10
dan2k3k4 CreditAttribution: dan2k3k4 at Amazee Labs commentedUpdated patch to include the 2 sub-modules
Comment #11
dan2k3k4 CreditAttribution: dan2k3k4 at Amazee Labs commentedComment #13
gbyte CreditAttribution: gbyte as a volunteer and at gbyte commentedI added the key to the test submodule as well. Thanks.