Drupal 7 allows modules to define a dependency against a specific version of a module. Geshi requires Libraries 2.x specifically, and fatals with 1.x, even though you can enable it with 1.x. This is a bug. The info file should specify a 2.x dependency so that you cannot enable it with the wrong version of Libraries.

Comments

soxofaan’s picture

How does this work? Where is specifying version of a dependency documented?

I only found this example in simpletest/tests/system_incompatible_module_version_dependencies_test.info:

dependencies[] = system_incompatible_module_version_test (>2.0)
Crell’s picture

soxofaan’s picture

Status: Active » Closed (fixed)

thanks
fixed