-
Bug
-
Resolution: Fixed
-
Major
-
2.3.6, 2.4.3
-
MOODLE_23_STABLE, MOODLE_24_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE
-
MDL-38700-master -
When duplicating a hidden module within a visible section both the module and its duplicate become unhidden. Steps to reproduce 2.3:
- Hide an item with the eyeball icon or create it as hidden
- Duplicate it with the x2 icon
- Save and return to course
- Refresh the course page
Steps to reproduce in 2.4 and current master:
- Create an item as hidden
- Duplicate it with the x2 icon
- Save and return to course
- Refresh the course page
Both modules are now visible. I believe this is a regression introduced by MDL-37430, which didn't take into account that moveto_module() is called by modduplicate.php.
- blocks
-
MDL-38703 Moving a hidden item to visible section sets the item to visible in 2.3
- Closed
- Discovered while testing
-
MDL-38713 When adding a course module and setting the visibility using the form visibleold is set incorrectly
- Closed
- has been marked as being related by
-
MDL-39109 Modules are not correctly added to sections
- Closed
-
MDL-41181 moveto_module() should not modify arguments
- Closed
- is a regression caused by
-
MDL-37430 Resource created in a hidden section does not unhide when section is unhidden.
- Closed