Regression
org.appng.core.model.ApplicationProviderTest.testCallDataSourceEntities
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="entities"> <config> <title id="entities">Entities</title> <permissions> <permission ref="show_entities" mode="set"></permission> </permissions> <params> <param name="param1"></param> <param name="param2"></param> <param name="param3"></param> <param name="param4" default="4">4</param> </params> <meta-data bindClass="org.appng.testapplication.TestEntity"> <field name="id" type="int" format="#" hidden="true" binding="id"> <label id="id">ID</label> <condition expression="${1==1}"/> </field> <field name="name" type="text" readonly="true" hidden="true" binding="name"> <sort/> <label id="name">Name</label> </field> <field name="integerValue" type="int" format="#" binding="integerValue"> <label id="integerValue">integer value</label> </field> <field name="doubleValue" type="decimal" format="#.##" binding="doubleValue"> <sort/> <label id="doubleValue">double value</label> </field> <field name="booleanValue" type="checkbox" binding="booleanValue"> <label id="booleanValue">boolean value</label> </field> <field name="actions" type="linkpanel" binding="actions"> <label id="actions">Actions</label> </field> </meta-data> <linkpanel id="actions" location="inline"> <link id="actions[1]" target="/${current.id}_edit" mode="intern" default="true"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" target="/${current.id}_delete" mode="intern" default="true"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="confirm.delete" params="#{name}">Really delete #{name}?</confirmation> </link> </linkpanel> </config> <messages ref="entities"> <message ref="entities" class="NOTICE">Notice!</message> <message ref="entities" class="OK">OK!</message> <message ref="entities" class="ERROR">Error!</message> <message ref="entities" class="INVALID">Invalid!</message> </messages> <data> <resultset chunk="0" chunkname="entities" chunksize="2" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="0" hits="2"> <result> <field name="id" type="int"> <value>1</value> </field> <field name="name" type="text"> <value>new name</value> </field> <field name="integerValue" type="int"> <value>5</value> </field> <field name="doubleValue" type="decimal"> <value>5.5</value> </field> <field name="booleanValue" type="checkbox"> <value>false</value> </field> <linkpanel id="actions" location="inline"> <link id="actions[1]" target="/1_edit" mode="intern" default="true"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" target="/1_delete" mode="intern" default="true"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="confirm.delete" params="#{name}">Really delete new name?</confirmation> </link> </linkpanel> </result> <result> <field name="id" type="int"> <value>2</value> </field> <field name="name" type="text"> <value>Lea</value> </field> <field name="integerValue" type="int"> <value></value> </field> <field name="doubleValue" type="decimal"> <value>7.8</value> </field> <field name="booleanValue" type="checkbox"> <value>true</value> </field> <linkpanel id="actions" location="inline"> <link id="actions[1]" target="/2_edit" mode="intern" default="true"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" target="/2_delete" mode="intern" default="true"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="confirm.delete" params="#{name}">Really delete Lea?</confirmation> </link> </linkpanel> </result> </resultset> </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="entities"> <config> <title id="entities">Entities</title> <permissions> <permission ref="show_entities" mode="set"></permission> </permissions> <params> <param name="param1"></param> <param name="param2"></param> <param name="param3"></param> <param name="param4" default="4">4</param> </params> <meta-data bindClass="org.appng.testapplication.TestEntity"> <field name="id" type="int" format="#" hidden="true" binding="id"> <label id="id">ID</label> <condition expression="${1==1}"/> </field> <field name="name" type="text" readonly="true" hidden="true" binding="name"> <sort/> <label id="name">Name</label> </field> <field name="integerValue" type="int" format="#" binding="integerValue"> <label id="integerValue">integer value</label> </field> <field name="doubleValue" type="decimal" format="#.##" binding="doubleValue"> <sort/> <label id="doubleValue">double value</label> </field> <field name="booleanValue" type="checkbox" binding="booleanValue"> <label id="booleanValue">boolean value</label> </field> <field name="actions" type="linkpanel" binding="actions"> <label id="actions">Actions</label> </field> </meta-data> <linkpanel id="actions" location="inline"> <link id="actions[1]" target="/${current.id}_edit" mode="intern" default="true"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" target="/${current.id}_delete" mode="intern" default="true"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="confirm.delete" params="#{name}">Really delete #{name}?</confirmation> </link> </linkpanel> </config> <messages ref="entities"> <message ref="entities" class="NOTICE">Notice!</message> <message ref="entities" class="OK">OK!</message> <message ref="entities" class="ERROR">Error!</message> <message ref="entities" class="INVALID">Invalid!</message> </messages> <data> <resultset chunk="0" chunkname="entities" chunksize="2" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="0" hits="2"> <result> <field name="id" type="int"> <value>1</value> </field> <field name="name" type="text"> <value>new name</value> </field> <field name="integerValue" type="int"> <value>5</value> </field> <field name="doubleValue" type="decimal"> <value>5.5</value> </field> <field name="booleanValue" type="checkbox"> <value>false</value> </field> <linkpanel id="actions" location="inline"> <link id="actions[1]" target="/1_edit" mode="intern" default="true"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" target="/1_delete" mode="intern" default="true"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="confirm.delete" params="#{name}">Really delete new name?</confirmation> </link> </linkpanel> </result> <result> <field name="id" type="int"> <value>2</value> </field> <field name="name" type="text"> <value>Lea</value> </field> <field name="integerValue" type="int"> <value></value> </field> <field name="doubleValue" type="decimal"> <value>7.8</value> </field> <field name="booleanValue" type="checkbox"> <value>true</value> </field> <linkpanel id="actions" location="inline"> <link id="actions[1]" target="/2_edit" mode="intern" default="true"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" target="/2_delete" mode="intern" default="true"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="confirm.delete" params="#{name}">Really delete Lea?</confirmation> </link> </linkpanel> </result> </resultset> </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.testCallDataSourceEntities(ApplicationProviderTest.java:242)