Skip to content

Regression

org.appng.application.manager.business.LdapUsersTest.testUsers

Failing for the past 1 build (Since Failed#1058 )
Took 91 ms.

Error Message

XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected text value 'LDAP Authentication is disabled. Set site property 'ldapDisabled' to 'false' to enable.' but was 'LDAP Authentication is disabled via site property 'ldapDisabled'.' - comparing <message ...>LDAP Authentication is disabled. Set site property 'ldapDisabled' to 'false' to enable.</message> at /datasource[1]/messages[1]/message[1]/text()[1] to <message ...>LDAP Authentication is disabled via site property 'ldapDisabled'.</message> at /datasource[1]/messages[1]/message[1]/text()[1]

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="ldapUsers">
    <config>
        <title id="ldap.users">LDAP Users</title>
        <params/>
        <meta-data bindClass="org.appng.application.manager.business.LdapUsers$LdapUser">
            <field name="name" type="text" binding="name">
                <label id="name">Name</label>
            </field>
            <field name="realname" type="text" binding="realname">
                <label id="realname">Real name</label>
            </field>
            <field name="type" type="text" binding="type">
                <label id="type">Type</label>
            </field>
            <field name="dn" type="text" displayLength="80" binding="dn">
                <label id="distinguishedName">Distinguished Name</label>
            </field>
        </meta-data>
    </config>
    <messages ref="ldapUsers">
        <message ref="ldapUsers" class="INVALID">LDAP Authentication is disabled via site property 'ldapDisabled'.</message>
    </messages>
    <data>
        <resultset chunk="0" chunkname="ldapUsers" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
    </data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected text value 'LDAP Authentication is disabled. Set site property 'ldapDisabled' to 'false' to enable.' but was 'LDAP Authentication is disabled via site property 'ldapDisabled'.' - comparing <message ...>LDAP Authentication is disabled. Set site property 'ldapDisabled' to 'false' to enable.</message> at /datasource[1]/messages[1]/message[1]/text()[1] to <message ...>LDAP Authentication is disabled via site property 'ldapDisabled'.</message> at /datasource[1]/messages[1]/message[1]/text()[1]

Stacktrace

junit.framework.AssertionFailedError: 
XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected text value 'LDAP Authentication is disabled. Set site property 'ldapDisabled' to 'false' to enable.' but was 'LDAP Authentication is disabled via site property 'ldapDisabled'.' - comparing <message ...>LDAP Authentication is disabled. Set site property 'ldapDisabled' to 'false' to enable.</message> at /datasource[1]/messages[1]/message[1]/text()[1] to <message ...>LDAP Authentication is disabled via site property 'ldapDisabled'.</message> at /datasource[1]/messages[1]/message[1]/text()[1]

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="ldapUsers">
    <config>
        <title id="ldap.users">LDAP Users</title>
        <params/>
        <meta-data bindClass="org.appng.application.manager.business.LdapUsers$LdapUser">
            <field name="name" type="text" binding="name">
                <label id="name">Name</label>
            </field>
            <field name="realname" type="text" binding="realname">
                <label id="realname">Real name</label>
            </field>
            <field name="type" type="text" binding="type">
                <label id="type">Type</label>
            </field>
            <field name="dn" type="text" displayLength="80" binding="dn">
                <label id="distinguishedName">Distinguished Name</label>
            </field>
        </meta-data>
    </config>
    <messages ref="ldapUsers">
        <message ref="ldapUsers" class="INVALID">LDAP Authentication is disabled via site property 'ldapDisabled'.</message>
    </messages>
    <data>
        <resultset chunk="0" chunkname="ldapUsers" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
    </data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected text value 'LDAP Authentication is disabled. Set site property 'ldapDisabled' to 'false' to enable.' but was 'LDAP Authentication is disabled via site property 'ldapDisabled'.' - comparing <message ...>LDAP Authentication is disabled. Set site property 'ldapDisabled' to 'false' to enable.</message> at /datasource[1]/messages[1]/message[1]/text()[1] to <message ...>LDAP Authentication is disabled via site property 'ldapDisabled'.</message> at /datasource[1]/messages[1]/message[1]/text()[1]

	at org.appng.application.manager.business.LdapUsersTest.testUsers(LdapUsersTest.java:40)

Standard Output

2022-09-21 10:25:55,644 INFO  [main] org.appng.api.support.ApplicationRequest: #41070104 Setting org.appng.api.support.DummyPermissionProcessor@319b8f1a: org.appng.api.support.ApplicationRequest.setPermissionProcessor(ApplicationRequest.java:93)
org.appng.testsupport.TestBase.initRequest(TestBase.java:453)
org.appng.testsupport.TestBase.setup(TestBase.java:440)
sun.reflect.GeneratedMethodAccessor170.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

2022-09-21 10:25:55,645 INFO  [main] org.appng.api.support.ApplicationRequest: #41070104 Getting org.appng.api.support.DummyPermissionProcessor@319b8f1a: org.appng.api.support.ApplicationRequest.getPermissionProcessor(ApplicationRequest.java:88)
org.appng.api.support.CallableDataSource.<init>(CallableDataSource.java:101)
org.appng.testsupport.TestBase$DataSourceCall.getCallableDataSource(TestBase.java:758)
org.appng.application.manager.business.LdapUsersTest.testUsers(LdapUsersTest.java:38)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)

2022-09-21 10:25:55,646 INFO  [main] org.appng.api.support.ApplicationRequest: #41070104 Getting org.appng.api.support.DummyPermissionProcessor@319b8f1a: org.appng.api.support.ApplicationRequest.getPermissionProcessor(ApplicationRequest.java:88)
org.appng.api.support.ElementHelper.filterFieldDefinitions(ElementHelper.java:350)
org.appng.api.support.ElementHelper.getFilteredMetaData(ElementHelper.java:337)
org.appng.api.support.ElementHelper.processConfig(ElementHelper.java:321)
org.appng.api.support.CallableDataSource.<init>(CallableDataSource.java:124)
org.appng.testsupport.TestBase$DataSourceCall.getCallableDataSource(TestBase.java:758)
org.appng.application.manager.business.LdapUsersTest.testUsers(LdapUsersTest.java:38)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2022-09-21 10:25:55,646 INFO  [main] org.appng.api.support.ApplicationRequest: #41070104 Getting org.appng.api.support.DummyPermissionProcessor@319b8f1a: org.appng.api.support.ApplicationRequest.getPermissionProcessor(ApplicationRequest.java:88)
org.appng.api.support.ElementHelper.filterFieldDefinitions(ElementHelper.java:350)
org.appng.api.support.ElementHelper.filterFieldDefinitions(ElementHelper.java:372)
org.appng.api.support.ElementHelper.getFilteredMetaData(ElementHelper.java:337)
org.appng.api.support.ElementHelper.processConfig(ElementHelper.java:321)
org.appng.api.support.CallableDataSource.<init>(CallableDataSource.java:124)
org.appng.testsupport.TestBase$DataSourceCall.getCallableDataSource(TestBase.java:758)
org.appng.application.manager.business.LdapUsersTest.testUsers(LdapUsersTest.java:38)

2022-09-21 10:25:55,646 INFO  [main] org.appng.api.support.ApplicationRequest: #41070104 Getting org.appng.api.support.DummyPermissionProcessor@319b8f1a: org.appng.api.support.ApplicationRequest.getPermissionProcessor(ApplicationRequest.java:88)
org.appng.api.support.ElementHelper.filterFieldDefinitions(ElementHelper.java:350)
org.appng.api.support.ElementHelper.filterFieldDefinitions(ElementHelper.java:372)
org.appng.api.support.ElementHelper.getFilteredMetaData(ElementHelper.java:337)
org.appng.api.support.ElementHelper.processConfig(ElementHelper.java:321)
org.appng.api.support.CallableDataSource.<init>(CallableDataSource.java:124)
org.appng.testsupport.TestBase$DataSourceCall.getCallableDataSource(TestBase.java:758)
org.appng.application.manager.business.LdapUsersTest.testUsers(LdapUsersTest.java:38)

2022-09-21 10:25:55,646 INFO  [main] org.appng.api.support.ApplicationRequest: #41070104 Getting org.appng.api.support.DummyPermissionProcessor@319b8f1a: org.appng.api.support.ApplicationRequest.getPermissionProcessor(ApplicationRequest.java:88)
org.appng.api.support.ElementHelper.filterFieldDefinitions(ElementHelper.java:350)
org.appng.api.support.ElementHelper.filterFieldDefinitions(ElementHelper.java:372)
org.appng.api.support.ElementHelper.getFilteredMetaData(ElementHelper.java:337)
org.appng.api.support.ElementHelper.processConfig(ElementHelper.java:321)
org.appng.api.support.CallableDataSource.<init>(CallableDataSource.java:124)
org.appng.testsupport.TestBase$DataSourceCall.getCallableDataSource(TestBase.java:758)
org.appng.application.manager.business.LdapUsersTest.testUsers(LdapUsersTest.java:38)

2022-09-21 10:25:55,646 INFO  [main] org.appng.api.support.ApplicationRequest: #41070104 Getting org.appng.api.support.DummyPermissionProcessor@319b8f1a: org.appng.api.support.ApplicationRequest.getPermissionProcessor(ApplicationRequest.java:88)
org.appng.api.support.ElementHelper.filterFieldDefinitions(ElementHelper.java:350)
org.appng.api.support.ElementHelper.filterFieldDefinitions(ElementHelper.java:372)
org.appng.api.support.ElementHelper.getFilteredMetaData(ElementHelper.java:337)
org.appng.api.support.ElementHelper.processConfig(ElementHelper.java:321)
org.appng.api.support.CallableDataSource.<init>(CallableDataSource.java:124)
org.appng.testsupport.TestBase$DataSourceCall.getCallableDataSource(TestBase.java:758)
org.appng.application.manager.business.LdapUsersTest.testUsers(LdapUsersTest.java:38)