IMPORTANT NOTE:
The bug I reported in MDL-81402 will prevent you from successfully replicating the steps below, even on the Moodle 4.3 Sandbox where we've been able to replicate both issues, because it blocks the Activity Chooser from opening.
I have provided steps to replicate labeled "Actual Behavior - WORKAROUND" that account for MDL-81402 to help you replicate this specific issue.
I've attached a screencast of the issue, as well as a simple course backup in case it saves you some time.
Expected Behavior
- Visit the Moodle Sandbox (https://sandbox.moodledemo.net/) and login as a teacher
- Open any course
- Turn editing on
- In any section but the General section, create two activities (Note: You can create any activity or resource, but Forum is easy because it just needs a title)
- Indent the second activity
- Note: Expected and Actual behavior steps aren't dependent on the second item being indented, that's just the spot I chose
- Click the ⊕ icon above the now indented content
- Create a new Forum (again, it can be any activity or resource, Forum is just easy)
- Save the Forum
- The Forum now appears where you originally clicked the ⊕ icon in Step 6
Actual Behavior
- Visit the Moodle Sandbox (https://sandbox.moodledemo.net/) and login as a teacher
- Open any course
- Turn editing on
- In any section but the General section, create two activities (Note: You can create any activity or resource, but Forum is easy because it just needs a title)
- I have attached a simple course backup you can restore if you'd like to skip this step
- Indent the second activity
- Click the ⊕ icon above the content you just indented
- Create a new Forum (again, it can be any activity or resource, Forum is just easy)
- Save the Forum
- Regardless of where you clicked the ⊕ icon, the Forum now appears at the bottom of the General section at the top of the course
Actual Behavior - WORKAROUND
- Visit the Moodle Sandbox (https://sandbox.moodledemo.net/) and login as a teacher
- Open any course
- Turn editing on
- In any section but the General section, create two activities (Note: You can create any activity or resource, but Forum is easy because it just needs a title)
- I have attached a simple course backup you can restore if you'd like to skip this step
- Indent the second activity
- Note: You must complete Steps 6 and 7 as a workaround to
MDL-81402
- Note: You must complete Steps 6 and 7 as a workaround to
- Click the "Add an activity or resource" link at the bottom of the topic to open the Activity Chooser
- Close the Activity Chooser
- Click the ⊕ icon above the content you just indented
- Create a new Forum (again, it can be any activity or resource, Forum is just easy)
- Save the Forum
- Regardless of where you clicked the ⊕ icon, the Forum now appears at the bottom of the General section at the top of the course
We've been able to replicate this issue on multiple sites, including the Moodle 4.3 Sandbox (https://sandbox.moodledemo.net/), with multiple users on multiple devices in Chrome (Version 123.0.6312.87), Firefox (Version 124.0.1), and Safari (Version 17.4.1). This is occurring in Moodle 4.3.3. We've gone through the typical steps of clearing browser caches, restarting machines, and even purging site caches.
A screencast of the issue is in this Google Drive folder. I will also attach it below.