grails-spring-security-acl icon indicating copy to clipboard operation
grails-spring-security-acl copied to clipboard

Exception thrown when using domain classes with UUID(String) Primary Keys.

Open kakavi opened this issue 3 years ago • 0 comments

When i call

 aclService.createAcl(
                     objectIdentityRetrievalStrategy.getObjectIdentity(report)
            )

with the report domain having a UUID primary key, i get the exception,

Argument [grails.plugin.springsecurity.acl.AclSid(sid:admin, principal:true, id:null, properties:[sid:admin, principal:true], dirty:false, dirtyPropertyNames:[], attached:false, errors:org.grails.datastore.mapping.validation.ValidationErrors: 0 errors)] is not an instance of [class grails.plugin.springsecurity.acl.AclSid] which this validator is configured for

Anybody experienced this or has anybody used this plugin with String identifiers?

kakavi avatar Jan 24 '22 09:01 kakavi