-
Bug
-
Resolution: Fixed
-
Major
-
4.3
-
MOODLE_403_STABLE
-
MOODLE_403_STABLE
-
MDL-78567-master -
-
2
-
Team Hedgehog 2023 Sprint 2.3
Steps to replicate
- Create a new Moodle instance (master) and do not install it.
- Checkout to the previous weekly release before
MDL-77357by running: git checkout 84bb5725f8ac68032d70669e7255c557f35c34e4 - Install the site by running: mdk install.
- Navigate to site and complete any upgrades.
- Checkout to the latest master branch.
- Do the site upgrade.
- Go to Site administration > Experimental > Experimental settings
- Enable the communication subsystem. Save the changes
- Create a course with the Communication service field set to Matrix.
- Filled the room name and room topic with any value. Make sure that both are not empty. and then click the "Save and display" button
- You will be redirected to the course page.
- Click Settings to Edit the course.
- Right-click on the page and choose View page source
- Observe the top of the page.
Expected result: There is no error.
Actual result: There is an error: Undefined property: stdClass::$topic
— Original steps to replicate —
Two problems need to be fixed.
To reproduce:
- Go to Site administration > Experimental > Experimental settings
- Enable the communication subsystem. Save the changes
- Create a course with the Communication service field set to Matrix.
- Filled the room name and room topic with any value. Make sure that both are not empty. and then click the "Save and display" button
- You will be redirected to the course page.
- Click Settings to Edit the course.
- Scrolled to the Communication fieldset
- Expected
- The room topic is filled by a value that you have set.
- Actual
- The room topic is empty
- Expected
- Filled the room topic again. Save the changes
- Expected
- The room topic is successfully saved
- Actual
- Raising an error: Warning: Undefined property: stdClass::$topic in /communication/provider/matrix/classes/matrix_rooms.php on line 123
- Expected
- is a regression caused by
-
MDL-77357 Create dynamic form fields feature for communication plugins
- Closed