Regression
org.appng.api.support.ElementHelperTest.testLinkPanel
Failing for the past 1 build
(Since Failed )
Error Message
org.custommonkey.xmlunit.Diff [different] Expected text value 'link1' but was 'null.translated' - comparing <label ...>link1</label> at /dataConfig[1]/linkpanel[1]/link[1]/label[1]/text()[1] to <label ...>null.translated</label> at /dataConfig[1]/linkpanel[1]/link[1]/label[1]/text()[1] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <dataConfig xmlns="http://www.appng.org/schema/platform"> <linkpanel id="linkpanel1" location="inline"> <link id="linkpanel1[1]" target="foo" mode="extern" active="true"> <condition expression="${1 eq 1}"/> <label>null.translated</label> <confirmation id="some.label" params="#{name}">some.label.translated</confirmation> </link> <link id="linkpanel1[4]" target="/services/localhost/application/webservice/wslink" mode="webservice"> <label>null.translated</label> </link> <link id="linkpanel1[5]" target="disabled" mode="extern" show-disabled="true"> <condition expression="${3 eq 4}"/> <label>null.translated</label> </link> </linkpanel> </dataConfig>
Stacktrace
java.lang.AssertionError: org.custommonkey.xmlunit.Diff [different] Expected text value 'link1' but was 'null.translated' - comparing <label ...>link1</label> at /dataConfig[1]/linkpanel[1]/link[1]/label[1]/text()[1] to <label ...>null.translated</label> at /dataConfig[1]/linkpanel[1]/link[1]/label[1]/text()[1] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <dataConfig xmlns="http://www.appng.org/schema/platform"> <linkpanel id="linkpanel1" location="inline"> <link id="linkpanel1[1]" target="foo" mode="extern" active="true"> <condition expression="${1 eq 1}"/> <label>null.translated</label> <confirmation id="some.label" params="#{name}">some.label.translated</confirmation> </link> <link id="linkpanel1[4]" target="/services/localhost/application/webservice/wslink" mode="webservice"> <label>null.translated</label> </link> <link id="linkpanel1[5]" target="disabled" mode="extern" show-disabled="true"> <condition expression="${3 eq 4}"/> <label>null.translated</label> </link> </linkpanel> </dataConfig> at org.appng.api.support.ElementHelperTest.testLinkPanel(ElementHelperTest.java:282)
Standard Output
2022-07-20 17:20:42,452 WARN [main] org.appng.api.support.ElementHelper: ${1 eq 1} = true 2022-07-20 17:20:42,453 WARN [main] org.appng.api.support.ElementHelper: ${1 eq 2} = false 2022-07-20 17:20:42,454 WARN [main] org.appng.api.support.ElementHelper: ${3 eq 4} = false