I am not sure why but modules like panels and ctools set a version in their .info file to something that looks like:
CTOOLS_MODULE_VERSION
I suggest a basic check is done to make sure that the version that is in $info['version'] follows at least the basics of the drupal format.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | assumes_the_version-2429079-1.patch | 531 bytes | geekygnr |
Comments
Comment #1
geekygnr commentedHere is a patch that solved my problem for ctools and panels.
Comment #2
nevergoneTested and works well!
Comment #3
fgmLGTM too. Any reason not to merge it ?
Comment #4
darren ohCtools and Panels have fixed their version strings. We cannot assume that all projects are from Drupal contrib, so we need to trust version strings when they exist.