ndunand / moodle-qtype_matrix

Source code of https://moodle.org/plugins/qtype_matrix
2 stars 10 forks source link

Input in Category fields [[colshort]] should be persisted (must, 2) #3

Closed isacsonk closed 10 years ago

isacsonk commented 10 years ago

How to reproduce:

  1. Create a new matrix question
  2. Enter Question name, enter something in the fields rowshort, and in the colshort fields enter: “Right” in the first one and “Wrong” in the second one.
  3. Click button “Save changes” --> the question is closed
  4. Click on the edit-icon of the just added matrix question
  5. Open the matrix by clicking on the arrow --> The inputs “Right” and “Wrong” in the colshort fields are gone.

Requirement: The inputs made by the user in the fields [[colshort]] should be saved as well and persist, even if the user has to change the answers. Default entries for the fields: True/False (if language English is selected); Richtig/Falsch (if language German is selected).

ghost commented 10 years ago

From preliminary testing I am pessimistic about accomplishing this by April 15th. Code seems to be extremely convoluted.

ghost commented 10 years ago

Well, I made a hack that seems to fix it, but I'm certainly not happy about it.

isacsonk commented 10 years ago

tested this and could not find anything, therefore I close the issue.