Regression
org.appng.core.model.ApplicationProviderTest.testEntities
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 /applicationReference[1]/pages[1]/page[1]/structure[1]/section[1]/element[1]/datasource[1]/config[1]/meta-data[1]/field[1]/condition[1]/@expression to <condition expression="${1==1}"...> at /applicationReference[1]/pages[1]/page[1]/structure[1]/section[1]/element[1]/datasource[1]/config[1]/meta-data[1]/field[1]/condition[1]/@expression <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <applicationReference xmlns="http://www.appng.org/schema/platform" id="demo-application" version="1.5.2"> <config> <title id="plugintitle">A Test-Plugin</title> <permissions> <permission ref="debug" mode="set"></permission> </permissions> <session> <session-params> <session-param name="sessionparam1"></session-param> <session-param name="sessionparam2"></session-param> </session-params> </session> </config> <pages> <page id="entity" type="index" executionTime="16"> <config> <title id="entity">Entity</title> <description></description> <permissions> <permission ref="page.entity" mode="set"></permission> </permissions> <url-schema> <url-params> <url-param name="action"/> <url-param name="entityId"/> <url-param name="entityAction"/> <url-param name="entityId"/> </url-params> <get-params> <get-param name="form_action"></get-param> </get-params> <post-params> <post-param name="form_action"></post-param> </post-params> </url-schema> <linkpanel id="page-nav" location="top"> <link id="page-nav[1]" target="/page0" mode="intern"> <label id="page0">Page 0</label> </link> <link id="page-nav[2]" target="/page1" mode="intern"> <condition expression="${1==1}"/> <label id="page1">Page 1</label> </link> <link id="page-nav[4]" target="/page3" mode="intern"> <permissions> <permission ref="page3" mode="set"></permission> </permissions> <label id="page3">Page 3</label> </link> </linkpanel> </config> <structure> <section executionTime="11" id="42"> <title id="entities">Entities</title> <element executionTime="11"> <title id="entities">Entities</title> <datasource 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">3</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 order="asc" prio="0"/> <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 order="desc" prio="1"/> <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>entity1</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 entity1?</confirmation> </link> </linkpanel> </result> <result> <field name="id" type="int"> <value>2</value> </field> <field name="name" type="text"> <value>entity2</value> </field> <field name="integerValue" type="int"> <value>7</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 entity2?</confirmation> </link> </linkpanel> </result> </resultset> </data> </datasource> </element> </section> </structure> </page> </pages> </applicationReference> , org.custommonkey.xmlunit.Diff [different] Expected attribute value 'true' but was '${1==1}' - comparing <condition expression="true"...> at /applicationReference[1]/pages[1]/page[1]/structure[1]/section[1]/element[1]/datasource[1]/config[1]/meta-data[1]/field[1]/condition[1]/@expression to <condition expression="${1==1}"...> at /applicationReference[1]/pages[1]/page[1]/structure[1]/section[1]/element[1]/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 /applicationReference[1]/pages[1]/page[1]/structure[1]/section[1]/element[1]/datasource[1]/config[1]/meta-data[1]/field[1]/condition[1]/@expression to <condition expression="${1==1}"...> at /applicationReference[1]/pages[1]/page[1]/structure[1]/section[1]/element[1]/datasource[1]/config[1]/meta-data[1]/field[1]/condition[1]/@expression <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <applicationReference xmlns="http://www.appng.org/schema/platform" id="demo-application" version="1.5.2"> <config> <title id="plugintitle">A Test-Plugin</title> <permissions> <permission ref="debug" mode="set"></permission> </permissions> <session> <session-params> <session-param name="sessionparam1"></session-param> <session-param name="sessionparam2"></session-param> </session-params> </session> </config> <pages> <page id="entity" type="index" executionTime="16"> <config> <title id="entity">Entity</title> <description></description> <permissions> <permission ref="page.entity" mode="set"></permission> </permissions> <url-schema> <url-params> <url-param name="action"/> <url-param name="entityId"/> <url-param name="entityAction"/> <url-param name="entityId"/> </url-params> <get-params> <get-param name="form_action"></get-param> </get-params> <post-params> <post-param name="form_action"></post-param> </post-params> </url-schema> <linkpanel id="page-nav" location="top"> <link id="page-nav[1]" target="/page0" mode="intern"> <label id="page0">Page 0</label> </link> <link id="page-nav[2]" target="/page1" mode="intern"> <condition expression="${1==1}"/> <label id="page1">Page 1</label> </link> <link id="page-nav[4]" target="/page3" mode="intern"> <permissions> <permission ref="page3" mode="set"></permission> </permissions> <label id="page3">Page 3</label> </link> </linkpanel> </config> <structure> <section executionTime="11" id="42"> <title id="entities">Entities</title> <element executionTime="11"> <title id="entities">Entities</title> <datasource 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">3</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 order="asc" prio="0"/> <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 order="desc" prio="1"/> <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>entity1</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 entity1?</confirmation> </link> </linkpanel> </result> <result> <field name="id" type="int"> <value>2</value> </field> <field name="name" type="text"> <value>entity2</value> </field> <field name="integerValue" type="int"> <value>7</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 entity2?</confirmation> </link> </linkpanel> </result> </resultset> </data> </datasource> </element> </section> </structure> </page> </pages> </applicationReference> , org.custommonkey.xmlunit.Diff [different] Expected attribute value 'true' but was '${1==1}' - comparing <condition expression="true"...> at /applicationReference[1]/pages[1]/page[1]/structure[1]/section[1]/element[1]/datasource[1]/config[1]/meta-data[1]/field[1]/condition[1]/@expression to <condition expression="${1==1}"...> at /applicationReference[1]/pages[1]/page[1]/structure[1]/section[1]/element[1]/datasource[1]/config[1]/meta-data[1]/field[1]/condition[1]/@expression at org.appng.core.model.ApplicationProviderTest.runMonitoredTest(ApplicationProviderTest.java:292) at org.appng.core.model.ApplicationProviderTest.testEntities(ApplicationProviderTest.java:150)