You wanted >= 2.x
It fails when someone has 7.x-2.x-dev installed. Nope.
This fails unexpectedly when having installed media-7.x-1.x in sites/all then installing media-7.x-2.x in ie sites/default.
Media should declare the version like given patch.
Be aware of #1247476: ModuleHandler::parseDependency fails on major version ops (>27.x) and (<=28.x). (Do not use >7.x-1.x)
ack, this also hit me last week.
We've had issues with adding versioned dependencies to Media and File entity in the past.
The problem is that versioned dependencies don't work with -dev versions or git clones (they always fail, make it impossible to install/update the module) See #1013302: Composer metadata on dev versions doesn't work in update.php.
Marking this as postponed until the versioned dependency issues are fixed.
Closing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review. sincerely, - the Drupal Media Team
Comments
Comment #1
dave reidIt fails when someone has 7.x-2.x-dev installed. Nope.
Comment #2
clemens.tolboomThis fails unexpectedly when having installed media-7.x-1.x in sites/all then installing media-7.x-2.x in ie sites/default.
Media should declare the version like given patch.
Be aware of #1247476: ModuleHandler::parseDependency fails on major version ops (>27.x) and (<=28.x). (Do not use >7.x-1.x)
Comment #3
helmo commentedack, this also hit me last week.
Comment #4
devin carlson commentedWe've had issues with adding versioned dependencies to Media and File entity in the past.
The problem is that versioned dependencies don't work with -dev versions or git clones (they always fail, make it impossible to install/update the module) See #1013302: Composer metadata on dev versions doesn't work in update.php.
Marking this as postponed until the versioned dependency issues are fixed.
Comment #5
steinmb commentedComment #6
chris matthews commentedClosing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team