grails-spring-security-core
grails-spring-security-core copied to clipboard
ACL NotFoundException when objects exists in Database
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?