need to support drupal 9 and have no compatibility issues
| Comment | File | Size | Author |
|---|---|---|---|
| drupal9-readiness-1.patch | 365 bytes | mohamed nabawy |
Issue fork contribute-3204237
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3204237-drupal-9-readiness
changes, plain diff MR !1
Comments
Comment #2
adriancidThe code is in the dev branch
Comment #3
hotwebmatter commentedFor those of us trying to upgrade now:
THIS IS THE WAY:
composer require 'drupal/contribute:1.x-dev@dev'Or check for a newer dev release on the project page.
I thought this simple advice was worth spelling out, because some may habitually use the trick of using
cweagans/composer-patchesto apply patches viacomposer.jsonlike so:DON'T DO THIS! THIS IS NOT THE WAY:
There's a tricky reason why you can't use the patch here:
https://www.mediacurrent.com/blog/how-fix-catch-22-problem-drupal-9-fixe...
Short version: Composer can only patch a package that it can select for installation, so the
core_version_requirement: ^8 || ^9cannot be added by patching viacomposer.json.In this case, just install the latest dev version:
composer require 'drupal/contribute:1.x-dev@dev'... and you'll be ready for Drupal 9.
Comment #4
drupalfan2 commentedPlease provide a Drupal 9 version on project page!
Until then this issue should remain open.
Comment #7
joshua1234511Comment #8
adriancid@joshua1234511 will be better to create a new issue and a new patch for your PR
Comment #9
adriancid