Regression
org.appng.core.model.ApplicationProviderTest.testCallDataSourceEntity
Failing for the past 1 build
(Since Failed )
Error Message
XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value 'true' but was '${1==1}' - comparing <condition expression="true"...> at /datasource[1]/config[1]/meta-data[1]/field[1]/condition[1]/@expression to <condition expression="${1==1}"...> at /datasource[1]/config[1]/meta-data[1]/field[1]/condition[1]/@expression <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <datasource xmlns="http://www.appng.org/schema/platform" id="entity"> <config> <title id="entity">Entity</title> <permissions> <permission ref="show_entity" mode="set"></permission> </permissions> <params> <param name="entityId">1</param> <param name="param2"></param> </params> <meta-data bindClass="org.appng.testapplication.TestEntity"> <field name="id" type="int" format="#" readonly="true" hidden="true" binding="id"> <label id="id">ID</label> <condition expression="${1==1}"/> </field> <field name="name" type="text" binding="name"> <label id="name">Name</label> </field> <field name="integerValue" type="list:checkbox" binding="integerValue"> <label id="integerValue">integer value</label> </field> <field name="doubleValue" type="decimal" format="#.##" binding="doubleValue"> <label id="doubleValue">double value</label> </field> <field name="booleanValue" type="checkbox" binding="booleanValue"> <label id="booleanValue">boolean value</label> </field> <field name="enumValue" type="list:radio" binding="enumValue"> <label id="enumValue">enumValue</label> </field> <field name="parent" type="object" binding="parent"> <field name="name" type="text" binding="parent.name"/> <field name="integerValue" type="int" format="#" binding="parent.integerValue"/> </field> <field name="children" type="list:object" binding="children"> <field name="children[]" type="object" binding="children.children[]"> <field name="name" type="text" binding="children.children[].name"/> <field name="integerValue" type="int" format="#" binding="children.children[].integerValue"/> </field> </field> </meta-data> </config> <data> <selection id="integerValue" type="checkbox"> <title id="integerValue">integer value</title> <option value="1" name="1" selected="false"/> <option value="2" name="2" selected="false"/> <option value="3" name="3" selected="false"/> <option value="4" name="4" selected="false"/> <option value="5" name="5" selected="true"/> </selection> <selection id="enumValue"> <option value="ACME" name="acme" selected="true"/> <option value="WARNER" name="warner" selected="false"/> </selection> <result> <field name="id" type="int"> <value>1</value> </field> <field name="name" type="text"> <value>Anakin</value> </field> <field name="integerValue" type="list:checkbox"> <value>5</value> </field> <field name="doubleValue" type="decimal"> <value>5.5</value> </field> <field name="booleanValue" type="checkbox"> <value>false</value> </field> <field name="enumValue" type="list:radio"> <value>ACME</value> </field> <field name="parent" type="object"> <field name="name" type="text"> <value>Anakin</value> </field> <field name="integerValue" type="int"> <value>5</value> </field> <value></value> </field> <field name="children" type="list:object"> <field name="children[0]" type="object"> <field name="name" type="text"> <value>Luke</value> </field> <field name="integerValue" type="int"> <value></value> </field> <value></value> </field> <field name="children[1]" type="object"> <field name="name" type="text"> <value>Lea</value> </field> <field name="integerValue" type="int"> <value></value> </field> <value></value> </field> </field> </result> </data> </datasource> , org.custommonkey.xmlunit.Diff [different] Expected attribute value 'true' but was '${1==1}' - comparing <condition expression="true"...> at /datasource[1]/config[1]/meta-data[1]/field[1]/condition[1]/@expression to <condition expression="${1==1}"...> at /datasource[1]/config[1]/meta-data[1]/field[1]/condition[1]/@expression
Stacktrace
junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value 'true' but was '${1==1}' - comparing <condition expression="true"...> at /datasource[1]/config[1]/meta-data[1]/field[1]/condition[1]/@expression to <condition expression="${1==1}"...> at /datasource[1]/config[1]/meta-data[1]/field[1]/condition[1]/@expression <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <datasource xmlns="http://www.appng.org/schema/platform" id="entity"> <config> <title id="entity">Entity</title> <permissions> <permission ref="show_entity" mode="set"></permission> </permissions> <params> <param name="entityId">1</param> <param name="param2"></param> </params> <meta-data bindClass="org.appng.testapplication.TestEntity"> <field name="id" type="int" format="#" readonly="true" hidden="true" binding="id"> <label id="id">ID</label> <condition expression="${1==1}"/> </field> <field name="name" type="text" binding="name"> <label id="name">Name</label> </field> <field name="integerValue" type="list:checkbox" binding="integerValue"> <label id="integerValue">integer value</label> </field> <field name="doubleValue" type="decimal" format="#.##" binding="doubleValue"> <label id="doubleValue">double value</label> </field> <field name="booleanValue" type="checkbox" binding="booleanValue"> <label id="booleanValue">boolean value</label> </field> <field name="enumValue" type="list:radio" binding="enumValue"> <label id="enumValue">enumValue</label> </field> <field name="parent" type="object" binding="parent"> <field name="name" type="text" binding="parent.name"/> <field name="integerValue" type="int" format="#" binding="parent.integerValue"/> </field> <field name="children" type="list:object" binding="children"> <field name="children[]" type="object" binding="children.children[]"> <field name="name" type="text" binding="children.children[].name"/> <field name="integerValue" type="int" format="#" binding="children.children[].integerValue"/> </field> </field> </meta-data> </config> <data> <selection id="integerValue" type="checkbox"> <title id="integerValue">integer value</title> <option value="1" name="1" selected="false"/> <option value="2" name="2" selected="false"/> <option value="3" name="3" selected="false"/> <option value="4" name="4" selected="false"/> <option value="5" name="5" selected="true"/> </selection> <selection id="enumValue"> <option value="ACME" name="acme" selected="true"/> <option value="WARNER" name="warner" selected="false"/> </selection> <result> <field name="id" type="int"> <value>1</value> </field> <field name="name" type="text"> <value>Anakin</value> </field> <field name="integerValue" type="list:checkbox"> <value>5</value> </field> <field name="doubleValue" type="decimal"> <value>5.5</value> </field> <field name="booleanValue" type="checkbox"> <value>false</value> </field> <field name="enumValue" type="list:radio"> <value>ACME</value> </field> <field name="parent" type="object"> <field name="name" type="text"> <value>Anakin</value> </field> <field name="integerValue" type="int"> <value>5</value> </field> <value></value> </field> <field name="children" type="list:object"> <field name="children[0]" type="object"> <field name="name" type="text"> <value>Luke</value> </field> <field name="integerValue" type="int"> <value></value> </field> <value></value> </field> <field name="children[1]" type="object"> <field name="name" type="text"> <value>Lea</value> </field> <field name="integerValue" type="int"> <value></value> </field> <value></value> </field> </field> </result> </data> </datasource> , org.custommonkey.xmlunit.Diff [different] Expected attribute value 'true' but was '${1==1}' - comparing <condition expression="true"...> at /datasource[1]/config[1]/meta-data[1]/field[1]/condition[1]/@expression to <condition expression="${1==1}"...> at /datasource[1]/config[1]/meta-data[1]/field[1]/condition[1]/@expression at org.appng.core.model.ApplicationProviderTest.testCallDataSourceEntity(ApplicationProviderTest.java:231)