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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

steinmb’s picture

Version: 7.x-1.4 » 7.x-1.x-dev
Component: Documentation » Code
Category: Task » Bug report
Status: Active » Needs review
FileSize
737 bytes

Hi
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.

steinmb’s picture

Title: Documentation inconsistent RE File Entity dependency. » Make sure Media use correct major version of File Entity

Perhaps a better title

Devin Carlson’s picture

Status: Needs review » Postponed
Related issues: +#1013302: Versioned dependencies fail with dev versions and git clones

We'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.

Chris Matthews’s picture

Status: Postponed » Closed (outdated)

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