In 2.17 when viewing past answers on a GW quiz which uses problem groups the user gets a warning message.
The offending code seems to be https://github.com/openwebwork/webwork2/blob/073e9f5886a4a73fbff92d4c9a835ca18e1d367b/lib/WeBWorK/ContentGenerator/Instructor/ShowAnswers.pm#L138:142
This gets a merged set and problem based on the unversioned set, which means that the source file could be something like "group:groupname", which then fails because this is not a valid source file.
In develop the warning is not present, but the behaviour is still not what is expected. The new logic skips the generation of the "silly problem" since the merged problem was not created, which means that the answer type for that problem is not stored. When displaying the past answers the logic tries to check the answer type to see if it is an essay problem, and since the $answerType variable will be empty it will not get the correct result if the question is indeed an essay problem.
In 2.17 when viewing past answers on a GW quiz which uses problem groups the user gets a warning message.
The offending code seems to be https://github.com/openwebwork/webwork2/blob/073e9f5886a4a73fbff92d4c9a835ca18e1d367b/lib/WeBWorK/ContentGenerator/Instructor/ShowAnswers.pm#L138:142
This gets a merged set and problem based on the unversioned set, which means that the source file could be something like "group:groupname", which then fails because this is not a valid source file.
In develop the warning is not present, but the behaviour is still not what is expected. The new logic skips the generation of the "silly problem" since the merged problem was not created, which means that the answer type for that problem is not stored. When displaying the past answers the logic tries to check the answer type to see if it is an essay problem, and since the
$answerTypevariable will be empty it will not get the correct result if the question is indeed an essay problem.