nesl / AutoGrader

Web frontend of Embedded Systems Auto Grader project
1 stars 0 forks source link

[BUG] Error specifying input file schema for assignment tasks #139

Open PARanOiA1120 opened 7 years ago

PARanOiA1120 commented 7 years ago

Will get "records are not consistent to schema" error.

Action to trigger this bug:

There should be something wrong with the _create_or_modify_assignment_task method in task.py (line 29)

TimeString commented 7 years ago

Does this problem constantly happen in different assignments?

PARanOiA1120 commented 7 years ago

Yes. If you created task1 and then changed the schema, then we get error editing task1, since the files associated with task1 are no longer consistent with the updated schema.

TimeString commented 7 years ago

I see, yeah now I remember this issue. When I made the feature of allowing multiple input files, I was concerning that if an instructor has created some tasks but decided to change the shcema. I think we shouldn't let the end user to see the exception, but also we need to discuss the policy to deal with it.