-
Bug
-
Resolution: Fixed
-
Minor
-
3.11.2, 4.0.2
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MDL-72430-master -
-
2
-
Team Hedgehog 4.1 sprint 0.1
When editing a course event the Event Type is changed automatically and can't select Course as Event Type anymore.
Steps to reproduce the original issue
New steps to replicate
- Login as admin.
- Make sure calendar_adminseesall admin setting is turned off by default.
- Make sure the admin user is not enroled to any course. If yes, please unenrol.
- Create a new course.
- Make sure to unenrol the admin user out of the created course (If you are using Moodle 4.0).
- Navigate to the created course and add the Upcoming events blocks.
- Click Go to calendar... in the block.
- Click on New event button.
- Set the Event title to "Test course event".
- Press Save button.
- Click on the cog icon next to the created event to edit.
- Observe the Type of event field.
Expected result:
- The Type of event field is set to Course.
- The course name of the event is also shown.
Actual result:
- The Type of event is set to User.
- There is no Course option in the Type of event Combobox.
- The course name of the event is not shown.
-{}Original steps to reproduce{}-
Steps to reproduce:
- Logged in with Admin
- Go to a course and add the Upcoming events block and then click Go to calendar...
- In the upcoming events view, click New Event to create a new event for the course.
- Add a title and set a date in the future when creating the new event and save.
- In the list, on the page with events, click on the cog icon next to the event we just created for Editing the event.
- The Type of event is not Course anymore. The only available options are: User / Category / Site.
After Saving a new event created when you try to edit it, the Course disappears from the list, and the event won't show up under the course anymore.
Everything is done with the admin user.
I have tried a fresh new install of Moodle, the latest build 20210827, same outcome.
- has been marked as being related by
-
MDL-62959 Changing a course event to a user event results in an error
- Closed