This is in addition to the Behat test.
Standup a new 4.1 environment using the code.
This is in addition to the Behat test. Pre-test setup: Standup a new 4.1 environment using the code. Actual test: Log in as a site admin Create a course Navigate to course > question bank Navigate to Import Import the question from the All question XML Navigate to the course Create a quiz Add those questions Navigate to the question bank Pick a question and edit the question Click save changes Click next page Confirm: There is no error on the page
- Log in as a site admin
- Create a course
- Navigate to course > question bank
- Navigate to Import
- Import the question from the All question XML
- Navigate to the course
- Create a quiz
- Add those questions
- Navigate to the question bank
- Pick a question and edit the question
- Click save changes
- Click next page
- There is no error on the page
I have a problem with Calculated Multichoice questions. I have tested this on the Moodle QA course, and the problem exists.
I export a set of calculated multichoice questions from Moodle 3.11, import them into Moodle 4.0, create a quiz, and preview it. Everything seems to work.
Then, try editing a question. Save. I get an error message (see graphic.)
If you try to go back to the quiz and preview it, you will get another error message. However, if you look at the included questions, and change the one that you tried to edit to version V1, the quiz seems to work.
I haven't tried creating brand new calculated multichoice questions to see how they behave. I wanted to report this problem with imported calculated multichoice questions to you to get the ball rolling.
I am attaching my exported questions file.