"de.hftstuttgart.cityunits.tests/META-INF/MANIFEST.MF" did not exist on "549ccad2ebda09148f80a78e77986d63048c6913"
Commit bfc19774 authored by Luna Riegel's avatar Luna Riegel
Browse files

Fix: Add topology checks table to config assembly

parent 5c91d943
......@@ -91,12 +91,10 @@ public class ValidationConfiguration implements Serializable {
ValidationConfiguration config = new ValidationConfiguration();
config.requirements = new HashMap<>();
for (CheckPrototype c : Checks.getCheckPrototypes()) {
if (c.getType() == RequirementType.TOPOLOGY){
continue;
}
for (Requirement req : c.checksRequirements()) {
RequirementConfiguration reqConfig = new RequirementConfiguration();
reqConfig.setEnabled(true);
//Topology checks are disabled in standard config
reqConfig.setEnabled(c.getType() != RequirementType.TOPOLOGY);
for (DefaultParameter param : req.getDefaultParameters()) {
reqConfig.getParameters().put(param.getName(), param.getValue());
}
......
......@@ -532,6 +532,7 @@ public class CheckDialog {
private boolean collectCheckConfiguration(ValidationConfiguration config) {
collectCheckInformationFromTree(config, geometricTable);
collectCheckInformationFromTree(config, semanticTable);
collectCheckInformationFromTree(config, topologyTable);
config.setSchematronFilePathInGlobalParameters(schematronField.getText());
config.setMinVertexDistanceInGlobalParameters(
Double.parseDouble(globalParametersTable.getItems().get(1).getValue()));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment