Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The 7.x-3.x-dev release of media_theplatform_mpx needs to be using the 7.x-2.x versions of both file_entity and media. The correct version of file_entity is used, but not the correct version of media:
Release node:
https://www.drupal.org/node/2248049
Currently defined dependencies:
dependencies[] = media (2.x)
dependencies[] = media_internet
dependencies[] = file_entity (2.x)
dependencies[] = encrypt (2.x)
dependencies[] = elements
test_dependencies[] = file_admin
Current checkouts from qa.drupal.org:
'dependencies' => array(
0 => array(
'repository' => array(
'type' => 'git',
'url' => 'git://git.drupal.org/project/drupal.git',
),
'vcs_identifier' => '7.x',
),
1 => array(
'repository' => array(
'type' => 'git',
'url' => 'git://git.drupal.org/project/file_entity.git',
),
'vcs_identifier' => '7.x-2.0-beta1',
),
2 => array(
'repository' => array(
'type' => 'git',
'url' => 'git://git.drupal.org/project/ctools.git',
),
'vcs_identifier' => '7.x-1.7',
),
3 => array(
'repository' => array(
'type' => 'git',
'url' => 'git://git.drupal.org/project/media.git',
),
'vcs_identifier' => '7.x-1.5',
),
4 => array(
'repository' => array(
'type' => 'git',
'url' => 'git://git.drupal.org/project/elements.git',
),
'vcs_identifier' => '7.x-1.4',
),
5 => array(
'repository' => array(
'type' => 'git',
'url' => 'git://git.drupal.org/project/encrypt.git',
),
'vcs_identifier' => '7.x-2.0',
),
6 => array(
'repository' => array(
'type' => 'git',
'url' => 'git://git.drupal.org/project/file_admin.git',
),
'vcs_identifier' => '7.x-1.0-beta8',
),
),
),
Comments
Comment #1
trobey CreditAttribution: trobey commentedThe problem is the media_internet module depends on the media module. This is getting processed first and it does not have a version requirement. So when the media dependency is processed Project Dependency sees that it already is in the list of dependencies and skips to the next dependency. Since the media_internet module is in the media project the version requirement should also apply to it. So a better way to specify the dependencies is:
There is no need to specify the media module as a dependency since the media_internet module already specifies it.
It looks like the version requirement to media_internet already was added yesterday so this should already be working and I will mark the issue as fixed.
Comment #2
Dave ReidHrm, while I did add the version dependency to media_internet, the test dependencies are still out of date.
Comment #3
trobey CreditAttribution: trobey commentedOkay, I will have to update my local copy so I can see why this fix is not taking care of the problem.
Comment #5
trobey CreditAttribution: trobey commentedThere was an obscure bug. The project for the release was being removed at the end of the dependency calculation but this is one of those rare cases where it needs to be excluded during the calculation. I have committed the changes and will create an updated release.
Comment #6
trobey CreditAttribution: trobey commentedRelease 7.x-1.0-beta4 needs to be installed on drupal.org.