Hi Beat,
I'm afraid that your report of "sometime later the removed credit is green again" doesn't really give me very much to go on (I assume by 'credit' you mean the checkbox is ticked?).
There are a number of ways the checklist can be configured and it's not quite clear which of them you are using:
I'm afraid that your report of "sometime later the removed credit is green again" doesn't really give me very much to go on (I assume by 'credit' you mean the checkbox is ticked?).
There are a number of ways the checklist can be configured and it's not quite clear which of them you are using:
- Checkboxes can be set to be updated by 'Student', 'Teacher' or 'Both' (in which case there will be separate checkboxes for the student and the teacher)
- Checklist items can be set to be created automatically from the activities in a course, or manually inserted (or you can do a bit of both)
- Checklist items that are created automatically can be set to be automatically marked as checked when the associated activity is completed, or only updated if manually checked (they can also be set to prevent manual changes if set to be automatically updated)
There are basically 3 ways a checkbox state can change (based on the above configuration):
- The related activity is completed and the checkbox updates to match
- The item is manually checked / unchecked by the student or teacher (as appropriate, based on the settings)
- The course is reset and the checklist is set to be cleared
There are no other mechanisms in the code for changing a checkbox state, so if a checkbox has changed state, then one of those 3 has occurred.