-
Bug
-
Resolution: Fixed
-
Blocker
-
2.4.7, 2.5.3, 2.6
-
MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
-
MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
-
MDL-43440-master -
In the unit test test_grade_edit_tree_column_range_get_item_cell, the id of an assignment is being used to find a context module instance. This should be using the cmid.
For a vanilla checkout of Moodle, this happens to pass because the cmid and the id are both 1, but if your build includes other plugins which create course modules as part of their installation (e.g. oublog which uses a post_install hook to create a sitewide instance), then the unit test fails.
- blocks
-
MDL-43835 Use unique sequence values on database reset to pick unit testing mistakes
- Closed
- has a non-specific relationship to
-
MDL-43182 Typo in accesslib causes performance optimization to be skipped (backport of MDL-43049)
- Closed
- has been marked as being related by
-
MDL-43926 Unit tests fail if an add-on creates a course category at install time
- Closed
- will be (partly) resolved by
-
MDL-43835 Use unique sequence values on database reset to pick unit testing mistakes
- Closed