-
Notifications
You must be signed in to change notification settings - Fork 29
Rendering with invalid inputFile is not handled correctly #199
Copy link
Copy link
Open
Labels
RF2 : complexity-assessment : 5for developer without specialization; 3 is the simplest, 89 is the most complex, step +66%for developer without specialization; 3 is the simplest, 89 is the most complex, step +66%RF2 : for-student : 1recomended for that many studentsrecomended for that many studentsRF2 : year : 2022recomended year to implement as projectworkrecomended year to implement as projectworkcategory : file-format : IXMLcategory : inputcategory : output : for-end-usercategory : validationcomponent : renderingcontext : OS : windows : 10kind : bug
Metadata
Metadata
Assignees
Labels
RF2 : complexity-assessment : 5for developer without specialization; 3 is the simplest, 89 is the most complex, step +66%for developer without specialization; 3 is the simplest, 89 is the most complex, step +66%RF2 : for-student : 1recomended for that many studentsrecomended for that many studentsRF2 : year : 2022recomended year to implement as projectworkrecomended year to implement as projectworkcategory : file-format : IXMLcategory : inputcategory : output : for-end-usercategory : validationcomponent : renderingcontext : OS : windows : 10kind : bug
Pre-requisites:
Java runtime 1.8
placingToRendering.xml exists in the rendering-1.4.0.jar's folder and is a valid inputFile (produced by placing-1.4.0.jar with the mappingToPlacing.xml as input generated by mapping-1.4.0.jar with the cdfFile generated by converter-1.4.0.jar for the input codemetropolis-toolchain-commons.graph)
command line opened in the folder of rendering-1.4.0.jar
Steps:
Open placingToRendering.xml with a text editor
Delete content from line 10 to 20 and save the file
Run "java -jar rendering-1.4.0.jar -i placingToRendering.xml -w cm"
Expected result:
The tool warns the user that the input file content is invalid and exits normally without creating the output file.
Test result:
Related TC:
Current develop branch version
First commit link version