-
Bug
-
Resolution: Fixed
-
Blocker
-
2.2
-
MOODLE_22_STABLE
-
MOODLE_22_STABLE
-
Moderate
-
oh, oh... I think we have one problem... imagine the next (real) situation:
1) Due to some changes in the glossary module requiring today's moodle I want to, both:
- module->version to 2011-10-28 (written that way for clarity).
- module->requires to 2011-10-28 too
2) Then 2 weeks later, I want to create one new filter and make it require glossary 2011-10-28, so I'll define the filter as:
- plugin->version = 2011-11-11
- plugin->requires = 2011-10-28 (because it needs that moodle version
- plugin->dependencies = array('mod_glossary' => 2011-10-28)
with that configuration... any Moodle >= 2011-10-28 will be upgraded without problems, oki.
But (big BUT!) any Moodle < 2011-10-28 won't be able to upgrade at all, because the dependency is being checked against the source (currently installed) version and not the target version.
So, as soon as we introduce any versioned dependency, right now, we are causing older upgrades (previous to latest "dependon" upgrade) to stop working completely, if I'm not wrong (I'm experimenting that while creating the new filter/glossary).
Needs fixing ASAP.
- is a regression caused by
-
MDL-29474 A way for plugins to declare that they depend on other plugins
-
- Closed
-