Hi guys,
I tried to add some permissions to existing admin users, but when I delete them I got:
DynamicEntityRemoteService - Problem removing org.broadleafcommerce.openadmin.server.security.domain.AdminPermissionImpl
[artifact:mvn] org.broadleafcommerce.common.exception.ServiceException: Problem removing entity : null
[artifact:mvn] at org.broadleafcommerce.openadmin.server.service.persistence.module.BasicPersistenceModule.remove(BasicPersistenceModule.java:993)
[artifact:mvn] at org.broadleafcommerce.openadmin.server.service.persistence.PersistenceManagerImpl.remove(PersistenceManagerImpl.java:644)
[artifact:mvn] at org.broadleafcommerce.openadmin.server.service.DynamicEntityRemoteService$5.execute(DynamicEntityRemoteService.java:203)
[artifact:mvn] at org.broadleafcommerce.openadmin.server.service.DynamicEntityRemoteService$5.execute(DynamicEntityRemoteService.java:198)
[artifact:mvn] at org.broadleafcommerce.openadmin.server.service.persistence.PersistenceThreadManager.operation(PersistenceThreadManager.java:33)
[artifact:mvn] at org.broadleafcommerce.openadmin.server.service.DynamicEntityRemoteService.remove(DynamicEntityRemoteService.java:198)
[artifact:mvn] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
.....
I believe this is because of a bug in org.broadleafcommerce.openadmin.server.service.persistence.module.BasicPersistenceModule.remove() Line 978, the check of .getRequired() some time returns null rather than boolean, as it's Boolean.
I've updated to the latest ver 3.1.8-GA and still got the same problem
Another question is, after I assigned permission to an admin user, such as "manage permission", when I login as that user, I can see the link of security > permission, but when I click into it, the page gives a 403 "access is denied".
Any ideas, guys?
Regards,
Dan
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.