Ticket #428 (closed defect: fixed)
RE.load() stumbles on a SecuritySystem error.
| Reported by: | jmoore | Owned by: | jmoore |
|---|---|---|---|
| Priority: | blocker | Milestone: | 3.0-Beta1 |
| Component: | Services | Version: | 3.0-M3 |
| Keywords: | Cc: | callan |
Description
Currently the SecuritySystem is being reset at some point (between sessions?) so that a flush later is causing :
Exception in thread "main" ome.conditions.ApiUsageException: The security system is not ready. Cannot execute: managedDetails at ome.security.basic.BasicSecuritySystem.checkReady(BasicSecuritySystem.java:1285) at ome.security.basic.BasicSecuritySystem.checkManagedDetails(BasicSecuritySystem.java:470) at ome.security.basic.OmeroInterceptor.resetDetails(OmeroInterceptor.java:280) at ome.security.basic.OmeroInterceptor.onFlushDirty(OmeroInterceptor.java:165)
Appears that the fix for #427 is now flushing against our wishes :
... (later in stack trace) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) at org.springframework.orm.hibernate3.SpringSessionSynchronization.beforeCommit(SpringSessionSynchronization.java:130) at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:709)
effectively undermining the fix for #258.
Should be configurable.
Change History
Note: See
TracTickets for help on using
tickets.
