Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input type 'Matrix of variable size' does not autosave correctly when using syntax without multiplication stars #1082

Open
FelixDiLenarda opened this issue Dec 5, 2023 · 0 comments
Assignees
Milestone

Comments

@FelixDiLenarda
Copy link

FelixDiLenarda commented Dec 5, 2023

When using the 'Matrix of variable size' input type in a STACK question within a Moodle quiz, the user's input is not consistently displayed upon navigating between different question pages.

Steps to Reproduce:

  1. Set up a quiz in Moodle that includes a STACK question with the input type set to 'Matrix of variable size', followed by either a description page or another question.
  2. Attempt the quiz and enter an answer in the STACK question using syntax without asterisks, such as '2i 4'. The response will be shown correctly in the "Your last answer was interpreted as follows:" section.
  3. Navigate to the next page (either a question or a description page) and then return to the STACK question.
  4. Observe that the input textarea for the question is empty, even though the "Your last answer was interpreted as follows:" section still displays the previously entered answer correctly.

Notable Issue:

  • This issue occurs regardless of the "insert stars" setting in the quiz configuration.
  • This issue does not occur if you use 'Algebrai input' type for example.
  • It appears that the 'Matrix of variable size' input type may have compatibility issues with Moodle's autosave functionality, leading to the loss of displayed user input upon page navigation.
@sangwinc sangwinc added this to the 4.7.0 milestone May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants