Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.6, 3.7
-
Component/s: Comments
-
Testing Instructions:
-
Affected Branches:MOODLE_36_STABLE, MOODLE_37_STABLE
-
Fixed Branches:MOODLE_38_STABLE, MOODLE_39_STABLE
-
Epic Link:
-
Pull from Repository:
-
Pull 3.8 Branch:
MDL-64525-m38 -
Pull 3.8 Diff URL:
-
Pull 3.9 Branch:
MDL-64525-m39 -
Pull 3.9 Diff URL:
-
Pull 3.10 Branch:
MDL-64525-m310 -
Pull 3.10 Diff URL:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
If an activity that uses comments is Frozen the comments that have been created can still be deleted by users.
For example:
- As an administrator enable the content Freezing features.
- Create an database activity (Ensure Allow comments on entries is set to Yes)
- Use the image bank preset
- Add a new entry
- Create a comment on the new entry
- Freeze the database
- View the entry and expand the comments
Actual result
The comments appear with a delete button, that functions to delete the comment.
Expected result
The comments appear and have no delete button present.
This also affects assignments (and presumably all plugins that use comments)