WeBWorK Main Forum

Changing a source file for a question after a set is open

Changing a source file for a question after a set is open

by Danny Glin -
Number of replies: 2
Hi,
In the past there have been occasions where the source file for a problem was changed after students had started on the set. We've found that some of the students continued to see the old file. I took a look in the database, and the source_file has been written to the [coursename]_problem_user table for some students (rather than this being left NULL, in which case it defaults to the value in the [coursename]_problem table), but not others.
Has anyone else seen such behaviour?
Alternatively, can someone tell me under what conditions settings such as these are written to the [coursename]_problem_user table? My understanding is that settings that are not user specific (such as source_file and max_attempts) are to remain null unless someone edits set data for a specific user, but these entries are being filled in even when this has not been done.
Any help would be appreciated.
Danny
In reply to Danny Glin

Re: Changing a source file for a question after a set is open

by Gavin LaRose -
Hi Danny,

The only place I know where this occurs is with versioned sets (that is, test/quiz assignments), where the source file is written out into the problem_user table for each version of the set. This is to allow the problems to be drawn from a group of problems.

Gavin
In reply to Danny Glin

Re: Changing a source file for a question after a set is open

by Arnold Pizer -
Hi Danny,

There is a bug somewhere that causes this to happen. See
http://webwork.maa.org/moodle/mod/forum/discuss.php?d=6243 for other reports. It also can happen under other unknown circumstances although this seems very rare (but it did happen to me once). At this point we do not have any idea where the bug is and haven't yet had the time to track it down. My first thought (which I haven't checked out) is that maybe if a student is active when the change is made, the current setting are saved for them.

Any additional information people have on this will help us trace it down.

Arnie