Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.2, 2.3.3, 2.4.1, 2.5
-
Component/s: Blocks
-
Database:Any
-
Testing Instructions:
-
Affected Branches:MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
Fixed Branches:MOODLE_23_STABLE, MOODLE_24_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip-
MDL-30669-master -
Pull Master Diff URL:
Description
After setting up a Front Page block set to 'Display throughout the site' (i.e. adding a sticky block), the block can be deleted from within a course (if the user is an admin) without any warning that this course-level editing is deleting a block from the entire site. This is in contrast to the 1.9 behaviour, where sticky blocks did not have editing buttons available within the course context.
Replication steps:
1. Log in as Admin.
2. Add a block to the Front Page.
3. Set block to be visible every where within the site.
4. Browse to a course.
5. Turn editing on.
6. Click the 'delete' button on the site wide block
-> Block disappears from the entire site.