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.
I just tried to install the Media module, after installing File entity 7.x-2.x-dev, but I am not allowed to activate the module, because of incompatibility.
It seems like both Media and File Entity were just updated. Is this something that was overlooked? Or is this a File Entity issue?
Comment | File | Size | Author |
---|---|---|---|
#7 | media_dependency-1304490-7.patch | 306 bytes | idflood |
Comments
Comment #1
Dave ReidTry re-downloading File entity in about 12 hours once the dev release has time to regenerate. If it's still a problem mark this back to active.
Comment #2
MustangGB CreditAttribution: MustangGB commentedThe issue is that the file_entity packing script adds
version = "7.x-2.x-dev"
after it is fakedComment #3
Dave ReidGah, the real issue here is our version comparing doesn't allow us to use (2.x) in a dependency with a module with version 7.x-2.x-dev. I'm going to remove the version-specific line from media.info.
Comment #4
Stretsh CreditAttribution: Stretsh commentedI'll be looking out for an update. Just removed both and tried downloading again, but still the same...
Comment #5
Juan C CreditAttribution: Juan C commentedsubscribe
Comment #6
Stretsh CreditAttribution: Stretsh commentedSo... Basically, only the dependency is the problem huh? I removed the (2.x) after File Entity in the media.info and it works.
I guess you'll let me know if there is something else that needs to be put there...
Comment #7
idflood CreditAttribution: idflood commentedThe issue is still present in the 7.x-2.x branch. Here is a simple patch to fix this. Since the dependency doesn't check for specific version the module homepage homepage should be changed to something like this.
Required modules for Media 7.x-2.x
Comment #8
klonosConfirming that #7 above fixes things.
Does anyone know if there is any issue filed against core for requiring specific versions of modules in .info files?
Comment #9
Dave ReidI'm committed
dependencies[] = file_entity (>1.99)
which seems to work although it's a little ugly.http://drupalcode.org/project/media.git/commit/72386e1
Comment #10
klonosYep, that works too. Thanx Dave ;)