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 documentation for the Media module states:
File Entity (separate module for Media 7.x-2.x only, included in Media 7.x-1.x)
And on the File Entity page:
The File entity project is not compatible with Media 7.x-1.x. You must use the File entity module bundled with Media 7.x-1.x.
Where as the media.info has the File Entity as a dependency:
dependencies[] = file_entity
Source: http://cgit.drupalcode.org/media/tree/media.info?h=7.x-1.x
Comment | File | Size | Author |
---|---|---|---|
#1 | media-define_correct_major_version-2358361-1.patch | 737 bytes | steinmb |
Comments
Comment #1
steinmb CreditAttribution: steinmb commentedHi
I think the documentation is correct though the info file should make sure people do not download/us the stand alone major version of file_entity. This small change to the info file should take care of that.
Comment #2
steinmb CreditAttribution: steinmb commentedPerhaps a better title
Comment #3
Devin Carlson CreditAttribution: Devin Carlson commentedWe've had issues with adding versioned dependencies to Media and File entity in the past, see issues like #1304490: Requires: File entity (2.x) (incompatible with version 7.x-2.x-dev), but no other 2.x version of File Entity available and #1332842: Fix file entity versioned dependency.
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: Versioned dependencies fail with dev versions and git clones. There's also an issue with making comparisons to major version numbers #1247476: ModuleHandler::parseDependency fails on major version ops (>27.x) and (<=28.x).
Marking this as postponed until the versioned dependency issues are fixed.
Comment #4
Chris Matthews CreditAttribution: Chris Matthews as a volunteer 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