Commit 64c119c5 authored by Mart Lubbers's avatar Mart Lubbers

Merge branch '332-reset-value-of-interaction-tasks-when-input-becomes-illegal' into 'master'

Fix #332: reset value of interaction tasks when the input becomes illegal

Closes #332

See merge request !314
parents 0a0aaf59 0baf2c5b
Pipeline #29325 passed with stage
in 4 minutes and 55 seconds
......@@ -134,10 +134,10 @@ evalInteract l v st mode sds handlers editor writefun event=:(EditEvent eTaskId
, iworld)
Nothing
= (ValueResult
(maybe NoValue (\v->Value (l, v) False) v)
NoValue
(mkTaskEvalInfo lastEval)
change
(Task (evalInteract l v st mode sds handlers editor writefun))
(Task (evalInteract l Nothing st mode sds handlers editor writefun))
, iworld)
Error e = (ExceptionResult (exception e), iworld)
evalInteract l v st mode sds handlers editor writefun ResetEvent evalOpts=:{taskId,lastEval} iworld
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment