Maxim Solodovnik created OPENMEETINGS-1472:
----------------------------------------------

             Summary: User cannot be deleted
                 Key: OPENMEETINGS-1472
                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1472
             Project: Openmeetings
          Issue Type: Bug
          Components: HTML5/Admin
    Affects Versions: 3.1.2
            Reporter: Maxim Solodovnik
            Assignee: Maxim Solodovnik
            Priority: Blocker
             Fix For: 3.1.3, 3.2.0, 4.0.0


User cannot be deleted using Admin -> Users

log:
{code}
Caused by: org.apache.openjpa.persistence.ArgumentException: You cannot perform 
operation delete on detached object 
"org.apache.openmeetings.db.entity.user.GroupUser-4". This operation only 
applies to managed objects.
        at 
org.apache.openjpa.kernel.BrokerImpl.newDetachedException(BrokerImpl.java:2835)
        at org.apache.openjpa.kernel.BrokerImpl.delete(BrokerImpl.java:2826)
        at org.apache.openjpa.kernel.BrokerImpl.delete(BrokerImpl.java:2771)
        at 
org.apache.openjpa.kernel.DelegatingBroker.delete(DelegatingBroker.java:1101)
        at 
org.apache.openjpa.persistence.EntityManagerImpl.remove(EntityManagerImpl.java:731)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:298)
        at com.sun.proxy.$Proxy20.remove(Unknown Source)
        at org.apache.openmeetings.db.dao.user.UserDao.delete(UserDao.java:291)
        at 
org.apache.openmeetings.db.dao.user.UserDao$$FastClassBySpringCGLIB$$1492ba5a.invoke(<generated>)
        at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to