Closed (fixed)
Project:
Contribute
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Mar 2021 at 11:14 UTC
Updated:
8 Apr 2022 at 18:07 UTC
Jump to comment: Most recent
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