> On May 6, 2017, at 7:30 PM, Emmanuel Lécharny <[email protected]> wrote:
> 
> Running tests as described in
> https://github.com/apache/directory-fortress-core/blob/master/README-QUICKSTART-APACHEDS.md,
> I get this error :
> 
> 2017-05-07 02:27:034 ERROR PropertyMgrImplTest:112 - addProperties
> caught SecurityException rc=1003, msg=add entity properties[Group]
> caught LDAPException=OBJECT_CLASS_VIOLATION: failed for MessageType :
> MODIFY_REQUEST
> Message ID : 32527
>    Modify Request
>        Object : 'cn=TestGroup1,ou=Groups,dc=example,dc=com'
>            Modification[0]
>                Operation :  add
>                Modification
> ftProps:
> test-key:test-valueorg.apache.directory.api.ldap.model.message.ModifyRequestImpl@4a64955c:
> ERR_277 Attribute ftProps not declared in objectClasses of entry
> cn=TestGroup1,ou=Groups,dc=example,dc=com
> org.apache.directory.fortress.core.UpdateException: add entity
> properties[Group] caught LDAPException=OBJECT_CLASS_VIOLATION: failed
> for MessageType : MODIFY_REQUEST
> 

Hi Emmanuel,

A couple of things could be wrong. 

1. I did not get the README’s updated with the correct version, so if you 
pulled via the instructions there you would have staged the previous release, 
2.0.0-RC1 instead of current 2.0.0-RC2.

2. The schema in your apacheds did not get updated with the latest, which is 
here:
https://github.com/apache/directory-fortress-core/blob/master/ldap/schema/apacheds-fortress.ldif

Other than that I can’t recreate your issue.  That is running the 2.0.0-RC2 
release with apacheds M23 passes all junit tests.

Thanks,
Shawn

Reply via email to