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

Command icon 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

solideogloria created an issue. See original summary.

solideogloria’s picture

Status: Active » Needs review
StatusFileSize
new308 bytes
solideogloria’s picture

Issue summary: View changes
solideogloria’s picture

Issue summary: View changes
joseph.olstad’s picture

Is this change compatible with D9 ?

solideogloria’s picture

Yes, I'm using Drupal 9.1

joseph.olstad’s picture

Status: Needs review » Reviewed & tested by the community

lets get this in at next opportunity

ladybug_3777’s picture

composer require doctrine/collections:^1.6.1 also worked for me on my Drupal version 9.1.10

joseph.olstad’s picture

Status: Reviewed & tested by the community » Fixed
jcnventura’s picture

Status: Fixed » Needs work

This broke the tests.. Recommend to maybe use ^1.4.0

jcnventura’s picture

Status: Needs work » Needs review

  • jcnventura committed c1746a8 on 8.x-1.x
    Issue #3210266 by jcnventura: Use doctrine/collections 1.4 or higher to...
jcnventura’s picture

Status: Needs review » Fixed
jcnventura’s picture

Tests passed. Committed so that we have tests running again.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.