From: Mike G. v. a. <we...@ma...> - 2005-12-02 18:40:21
|
Log Message: ----------- This fixes bug #919 -- the "update user-sets" line remained commented out. I'm amazed this bug lasted as long as it did before it caused trouble. -- Mike Modified Files: -------------- webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor: ProblemSetDetail.pm Revision Data ------------- Index: ProblemSetDetail.pm =================================================================== RCS file: /webwork/cvs/system/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm,v retrieving revision 1.24 retrieving revision 1.25 diff -Llib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm -Llib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm -u -r1.24 -r1.25 --- lib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm +++ lib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm @@ -817,12 +817,8 @@ sourceFile => $blank_file_path, problemID => $targetProblemNumber, #added to end of set ); - #$self->assignProblemToAllSetUsers($problemRecord); + $self->assignProblemToAllSetUsers($problemRecord); $self->addgoodmessage("Added $blank_file_path to ". $setID. " as problem $targetProblemNumber") ; - #warn "A new blank problem has been added at number $targetProblemNumber with source $blank_file_path and record is $problemRecord" ; - #FIXME -- for reasons I don't understand the sourceFile reference is not accepted. - # furthermore, while the new problem appears in the listing for problem set details, it doesn't appear in the "hmwk set editor" (ProblemSetEditor.pm) - # this snippet was copied from PGProblemSetEditor.pm line 1038 where it appears to work. What's up?? } # Sets the specified header to "" so that the default file will get used. |