Menu

#17 Weirdness after editing question

pending-remind
Spectatus (17)
5
2011-08-08
2011-08-06
No

(Originally reported by SM.) Sometimes, after editing a question, everything goes weird / stops working.

MJI possibly reproduced, as suspected this was due to trying to do something with the test before the file change monitor process (found in MQWrapper class in the view package) had picked up the file save, On saving changes to question, immediately hit the preview test button. Nothing happened, but the errors shown in the attachment were written to the console.

Discussion

  • Marina Isaac

    Marina Isaac - 2011-08-06
     
  • Marina Isaac

    Marina Isaac - 2011-08-08

    Suspect problem is connected with operations prior to running test being carried out during the updates (GroundControl.perform(FILECHANGED)). This can occur concurrently with other operations because it's run as a result of a thread that monitors for a file change once MathQurate has been launched.

     
  • Marina Isaac

    Marina Isaac - 2011-08-08

    Synchronised saveTest(dest, conf) method, and extracted the FILE_CHANGED changes in GroundControl.perform to synchronised method.

     
  • Marina Isaac

    Marina Isaac - 2011-08-08
    • status: open --> pending-remind