-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.4.3, 4.4.4, 4.4.5
-
MOODLE_404_STABLE
Hi, this is an issue regarding the rating's settings changes/reset in the Database activity when creating a 'Preset'.
Steps to replicate:
- Go to a Course and Turn editing on
- Click on 'Add an activity or resources'
- Select 'Database' to create a Database activity
- Provide a Name
- Scroll down to the 'Ratings' section
- For 'Aggregate type' select ex: 'Average of rating'
- Check/tick the 'Restrict ratings to items with dates in this range'
- Select an appropriate rage or leave the default [screenshot]
- Scroll down to 'Save and display'
- Go to the 'Database' activity and select 'Use a preset' [screenshot]
- In the Presets page, select ex: 'Image gallery' option [screenshot]
- Select 'Use this preset' and directed to 'Manage fields' page [screenshot] (Optional: you can add an Entry and login as a student to rate it but it's not required to replicate this issue)
- Now go to the 'Settings' for this Database activity and open the 'Ratings' section
- Observation: the “Restrict ratings to items with dates in this range” button has been 'unchecked' (and 'Re-checking' this option also resets the time range 'From' 'To' values). [screenshot]
- Expectation: the restriction and date/time range should not be reset after creating a preset.