Problem/Motivation
doctrine/collections is missing from composer.json, yet the module is using Doctrine\Common\Collections\ArrayCollection. This causes dmu-upgrade to fail at times.
Proposed resolution
Add it.
Workaround
composer require doctrine/collections:^1.6.1
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | drupalmoduleupgrader-doctrine-collections-3210266-2.patch | 308 bytes | solideogloria |
Issue fork drupalmoduleupgrader-3210266
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:
Comments
Comment #2
solideogloria commentedComment #3
solideogloria commentedComment #4
solideogloria commentedComment #5
joseph.olstadIs this change compatible with D9 ?
Comment #6
solideogloria commentedYes, I'm using Drupal 9.1
Comment #7
joseph.olstadlets get this in at next opportunity
Comment #8
ladybug_3777 commentedcomposer require doctrine/collections:^1.6.1 also worked for me on my Drupal version 9.1.10
Comment #10
joseph.olstadComment #11
jcnventuraThis broke the tests.. Recommend to maybe use ^1.4.0
Comment #13
jcnventuraComment #15
jcnventuraComment #16
jcnventuraTests passed. Committed so that we have tests running again.