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

ACL NotFoundException when objects exists in Database

Open DamsoftDevelopers opened this issue 7 years ago • 2 comments

Hello everyone,

He implemented the ACL and reviewed the example of Issue # 32, and after trying and testing I can not know what is going on with my code.

Implemented ACL in my project, in which I use Grails 3.3.2 and a MariaDB database

If we start the application and enter data, the data will be correctly registered in its corresponding ACL tables and in its corresponding domain class tables.

But, if we turn off the application and turn it on again, when we bring lists filtering them by ACL and these lists return more than one object, it returns the following exception:

Class org.springframework.security.acls.model.NotFoundException Message null Caused by Unable to find ACL information for object identity 'org.springframework.security.acls.domain.ObjectIdentityImpl[Type: com.sample.test.Proyecto; Identifier: 2]'

Indicating that you can not find that information in the ACL, but this is not true because it does exist.

What's going on? Can anybody help me?

@sdelamo Can you help me?

DamsoftDevelopers avatar Feb 04 '18 22:02 DamsoftDevelopers