Project

General

Profile

Defect #140

Wrong condition in CSVExportModule#writeSelectSingleAnswer

Added by Michele Vivoda about 6 years ago. Updated about 6 years ago.

Status:
Assigned
Priority:
medium
Assignee:
-
Category:
MarkReader
Start date:
2012-05-08
Due date:
% Done:

0%

Estimated time:

Description

I already noticed that CSV was not exporting select1 values,
now I think found why, the condition in CSVExportModule#writeSelectSingleAnswer

if (answer null || taskErrorModelMap null || 0 taskErrorModelMap.size()) {
return;
}

is wrong, should be as in the next method:

if (answer null || (taskErrorModelMap != null && 0 < taskErrorModelMap.size())) {

I am making a cumulative patch for all these minor issues

History

#1 Updated by Michele Vivoda about 6 years ago

This is fixed, checked now.

Also available in: Atom PDF