In v2.11 exported set definition files have a lot more information (see the below for example) that v2.10 does not understand, and fails to import.
Is this a bug, is there a fix?
Older set def file example:
setNumber=Orientation openDate = 6/26/04 at 11:30am dueDate = 4/4/15 at 12:20pm answerDate = 4/5/15 at 12:00pm paperHeaderFile = setOrientation/setHeader.pg screenHeaderFile = setOrientation/setHeader.pg problemList = setOrientation/prob01.pg, 1v2.11 set def file example:
assignmentType = default openDate = 06/26/2004 at 11:30am CDT reducedScoringDate = 12/31/1969 at 06:00pm CST dueDate = 04/04/2015 at 12:20pm CDT answerDate = 04/05/2015 at 12:00pm CDT enableReducedScoring = N paperHeaderFile = setOrientation/setHeader.pg screenHeaderFile = setOrientation/setHeader.pg description = restrictProbProgression = emailInstructor = problemListV2 problem_start problem_id = 1 source_file = setOrientation/prob01.pg value = 1 max_attempts = -1 showMeAnother = counts_parent_grade = att_to_open_children = problem_end ========Error message while trying to read the v2.11 exported set definition file to v2.10:
readSetDef error, can't read the line: ||reducedScoringDate = 12/31/1969 at 06:00pm CST|| at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList2.pm line 2010, <SETFILENAME> line 3.
readSetDef error, can't read the line: ||enableReducedScoring = N|| at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList2.pm line 2010, <SETFILENAME> line 6.
readSetDef error, can't read the line: ||restrictProbProgression =|| at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList2.pm line 2010, <SETFILENAME> line 10.
readSetDef error, can't read the line: ||emailInstructor =|| at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList2.pm line 2010, <SETFILENAME> line 11.
readSetDef error, can't read the line: ||problemListV2|| at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList2.pm line 2010, <SETFILENAME> line 13.
...
Andras