Task #4383 (closed)
Opened 13 years ago
Closed 13 years ago
BUG: testTicket2196SetSecurityContext - OmeroPy
Reported by: | wmoore | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.3 |
Component: | OmeroPy | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-02-24 (6) |
Description
Test turned off in [016f026961d8fd6b68352fc967c8911b2535711a/ome.git]
====================================================================== ERROR: testTicket2196SetSecurityContext (__main__.TestISession) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/integration/isession.py", line 153, in testTicket2196SetSecurityContext self.client.sf.setSecurityContext(grp1) File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/build/lib/omero_API_ice.py", line 197, in setSecurityContext return _M_omero.api.ServiceFactory._op_setSecurityContext.invoke(self, ((obj, ), _ctx)) SecurityViolation: exception ::omero::SecurityViolation { serverStackTrace = ome.conditions.SecurityViolation: User 254 is not a member of group 251 and cannot login at ome.security.basic.BasicSecuritySystem.loadEventContext(BasicSecuritySystem.java:396) at ome.security.basic.EventHandler.invoke(EventHandler.java:116) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:111) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:231) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:111) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy61.doWork(Unknown Source) at ome.services.util.Executor$Impl.execute(Executor.java:369) at ome.services.sessions.SessionManagerImpl.setGroupSecurityContext(SessionManagerImpl.java:1167) at ome.services.sessions.SessionManagerImpl.setSecurityContext(SessionManagerImpl.java:1127) at ome.services.blitz.impl.ServiceFactoryI.setSecurityContext(ServiceFactoryI.java:319) at omero.api._ServiceFactoryDisp.___setSecurityContext(_ServiceFactoryDisp.java:385) at omero.api._ServiceFactoryDisp.__dispatch(_ServiceFactoryDisp.java:1347) at IceInternal.Incoming.invoke(Incoming.java:159) at Ice.ConnectionI.invokeAll(ConnectionI.java:2037) at Ice.ConnectionI.message(ConnectionI.java:972) at IceInternal.ThreadPool.run(ThreadPool.java:577) at IceInternal.ThreadPool.access$100(ThreadPool.java:12) at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971) serverExceptionClass = ome.conditions.SecurityViolation message = User 254 is not a member of group 251 and cannot login }
Change History (3)
comment:1 Changed 13 years ago by jmoore
- Remaining Time set to 0.1
comment:2 Changed 13 years ago by jmoore
- Status changed from new to accepted
comment:3 Changed 13 years ago by jmoore
- Remaining Time changed from 0.1 to 0
- Resolution set to fixed
- Status changed from accepted to closed
(In [fb41050de4c6aa8af9a8c2c9027d4674226005c3/ome.git] on branch develop) Forcing reload of user context in test (Fix #4384, See #4011) Note: this was incorrectly marked as #4384'
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Probably something quite minor in the test itself.