Skip to content

Regression

org.appng.api.support.ElementHelperTest.testRead

Failing for the past 1 build (Since Failed#76 )
Took 20 ms.

Error Message

org.custommonkey.xmlunit.Diff
[different] Expected text value 'dateField' but was 'null.translated' - comparing <label ...>dateField</label> at /metaData[1]/field[1]/label[1]/text()[1] to <label ...>null.translated</label> at /metaData[1]/field[1]/label[1]/text()[1]

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<metaData xmlns="http://www.appng.org/schema/platform">
    <field name="dateField" type="date" format="yyyy-MM-dd">
        <label>null.translated</label>
    </field>
    <field name="readableField">
        <label>null.translated</label>
        <tooltip id="tooltip">tooltip.translated</tooltip>
    </field>
    <field name="conditionTrue">
        <label>null.translated</label>
        <condition expression="${1 eq 1}"/>
    </field>
    <field name="conditionCurrent">
        <label>null.translated</label>
        <condition expression="${current.id gt 5}"/>
    </field>
</metaData>

Stacktrace

java.lang.AssertionError: 
org.custommonkey.xmlunit.Diff
[different] Expected text value 'dateField' but was 'null.translated' - comparing <label ...>dateField</label> at /metaData[1]/field[1]/label[1]/text()[1] to <label ...>null.translated</label> at /metaData[1]/field[1]/label[1]/text()[1]

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<metaData xmlns="http://www.appng.org/schema/platform">
    <field name="dateField" type="date" format="yyyy-MM-dd">
        <label>null.translated</label>
    </field>
    <field name="readableField">
        <label>null.translated</label>
        <tooltip id="tooltip">tooltip.translated</tooltip>
    </field>
    <field name="conditionTrue">
        <label>null.translated</label>
        <condition expression="${1 eq 1}"/>
    </field>
    <field name="conditionCurrent">
        <label>null.translated</label>
        <condition expression="${current.id gt 5}"/>
    </field>
</metaData>

	at org.appng.api.support.ElementHelperTest.testRead(ElementHelperTest.java:325)

Standard Output

2022-07-20 17:20:42,426 WARN  [main] org.appng.api.support.ElementHelper: ${1 eq 2} = false
2022-07-20 17:20:42,427 WARN  [main] org.appng.api.support.ElementHelper: ${1 eq 1} = true