Closed (fixed)
Project:
D7 Media
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 Oct 2011 at 03:12 UTC
Updated:
26 Oct 2011 at 00:50 UTC
Jump to comment: Most recent file
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 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 commentedI'll be looking out for an update. Just removed both and tried downloading again, but still the same...
Comment #5
Juan C commentedsubscribe
Comment #6
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 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 ;)