prepare for version 0.5.1-beta
This commit is contained in:
parent
c1eb395679
commit
3772ad754d
4 changed files with 11 additions and 9 deletions
2
pom.xml
2
pom.xml
|
@ -18,7 +18,7 @@
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<sebserver-version>0.5.0-beta</sebserver-version>
|
<sebserver-version>0.5.1-beta</sebserver-version>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
|
@ -716,7 +716,7 @@ class ConfigurationDAOBatchService {
|
||||||
});
|
});
|
||||||
|
|
||||||
// override with template values if available
|
// override with template values if available
|
||||||
if (configNode.templateId == null || configNode.templateId == ConfigurationNode.DEFAULT_TEMPLATE_ID) {
|
if (configNode.templateId == null || configNode.templateId.equals(ConfigurationNode.DEFAULT_TEMPLATE_ID)) {
|
||||||
initAdditionalDefaultValues(configNode, config);
|
initAdditionalDefaultValues(configNode, config);
|
||||||
} else {
|
} else {
|
||||||
writeTemplateValues(configNode, config);
|
writeTemplateValues(configNode, config);
|
||||||
|
|
|
@ -312,19 +312,22 @@ public class ExamConfigXMLParser extends DefaultHandler {
|
||||||
"Failed to get InlineTable values. value/name array length mismatch");
|
"Failed to get InlineTable values. value/name array length mismatch");
|
||||||
}
|
}
|
||||||
|
|
||||||
String val = "";
|
final StringBuilder valueBuilder = new StringBuilder();
|
||||||
for (int i = 0; i < names.length; i++) {
|
for (int i = 0; i < names.length; i++) {
|
||||||
if (i != 0) {
|
if (i != 0) {
|
||||||
if (i % numColumns == 0) {
|
if (i % numColumns == 0) {
|
||||||
val = val + Constants.LIST_SEPARATOR;
|
valueBuilder.append(Constants.LIST_SEPARATOR);
|
||||||
} else {
|
} else {
|
||||||
val = val + Constants.EMBEDDED_LIST_SEPARATOR;
|
valueBuilder.append(Constants.EMBEDDED_LIST_SEPARATOR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val = val + names[i] + Constants.FORM_URL_ENCODED_NAME_VALUE_SEPARATOR + values[i];
|
valueBuilder
|
||||||
|
.append(names[i])
|
||||||
|
.append(Constants.FORM_URL_ENCODED_NAME_VALUE_SEPARATOR)
|
||||||
|
.append(values[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
saveValue(attrName, attribute, top.listIndex, val);
|
saveValue(attrName, attribute, top.listIndex, valueBuilder.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -460,7 +463,6 @@ public class ExamConfigXMLParser extends DefaultHandler {
|
||||||
int listIndex = 0;
|
int listIndex = 0;
|
||||||
String valueName;
|
String valueName;
|
||||||
String value;
|
String value;
|
||||||
boolean saveNullValueAsBlank = false;
|
|
||||||
|
|
||||||
protected PListNode(final Type type) {
|
protected PListNode(final Type type) {
|
||||||
this.type = type;
|
this.type = type;
|
||||||
|
|
|
@ -5,6 +5,6 @@ spring.mandatory-file-encoding=UTF-8
|
||||||
spring.http.encoding.charset=UTF-8
|
spring.http.encoding.charset=UTF-8
|
||||||
spring.http.encoding.enabled=true
|
spring.http.encoding.enabled=true
|
||||||
|
|
||||||
sebserver.version=0.5.0 beta
|
sebserver.version=0.5.1 beta
|
||||||
sebserver.supported.languages=en,de
|
sebserver.supported.languages=en,de
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue