Regression
org.appng.api.support.ElementHelperTest.testLinkPanel
Failing for the past 1 build
(Since Failed )
Error Message
org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '3' but was '5' - comparing <linkpanel...> at /dataConfig[1]/linkpanel[1] to <linkpanel...> at /dataConfig[1]/linkpanel[1] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <dataConfig xmlns="http://www.appng.org/schema/platform"> <linkpanel id="linkpanel1" location="inline"> <link mode="extern" id="linkpanel1[1]" target="foo" active="true"> <condition expression="${1 eq 1}"/> <label>link1</label> <confirmation id="some.label" params="#{name}">some.label</confirmation> </link> <link mode="extern" id="linkpanel1[3]" target="bar"> <label>link3</label> </link> <link mode="webservice" id="linkpanel1[4]" target="/services/localhost/application/webservice/wslink"> <label>link4</label> </link> <link mode="extern" id="linkpanel1[5]" target="disabled" show-disabled="true"> <condition expression="${3 eq 4}"/> <label>link5</label> </link> <link mode="extern" id="linkpanel1[6]" target="foobar" show-disabled="true"> <condition expression="${current.id=5}"/> <permissions> <permission ref="link:withCurrentCondition"/> </permissions> <label>withCurrentCondition</label> </link> </linkpanel> </dataConfig>
Stacktrace
java.lang.AssertionError: org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '3' but was '5' - comparing <linkpanel...> at /dataConfig[1]/linkpanel[1] to <linkpanel...> at /dataConfig[1]/linkpanel[1] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <dataConfig xmlns="http://www.appng.org/schema/platform"> <linkpanel id="linkpanel1" location="inline"> <link mode="extern" id="linkpanel1[1]" target="foo" active="true"> <condition expression="${1 eq 1}"/> <label>link1</label> <confirmation id="some.label" params="#{name}">some.label</confirmation> </link> <link mode="extern" id="linkpanel1[3]" target="bar"> <label>link3</label> </link> <link mode="webservice" id="linkpanel1[4]" target="/services/localhost/application/webservice/wslink"> <label>link4</label> </link> <link mode="extern" id="linkpanel1[5]" target="disabled" show-disabled="true"> <condition expression="${3 eq 4}"/> <label>link5</label> </link> <link mode="extern" id="linkpanel1[6]" target="foobar" show-disabled="true"> <condition expression="${current.id=5}"/> <permissions> <permission ref="link:withCurrentCondition"/> </permissions> <label>withCurrentCondition</label> </link> </linkpanel> </dataConfig> at org.appng.api.support.ElementHelperTest.testLinkPanel(ElementHelperTest.java:271)