Skip to content
Snippets Groups Projects
Commit df6557d6 authored by gnaegi's avatar gnaegi
Browse files

OO-852 support for commas in comments

parent 369f4012
No related branches found
No related tags found
No related merge requests found
......@@ -390,6 +390,13 @@ public class DataStepForm extends StepFormBasicController {
if(valuesLength > 3) {
String commentStr = values[3];
// add any additional comment which probably is just a comma in a escaped string
if (valuesLength > 4) {
for (int i = 4; i < valuesLength; i++) {
commentStr += "," + values[i];
}
}
if(commentStr.isEmpty()) {
// ignore empty values
row.setComment(null);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment