Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OptimisticLockException on Save #451

Open
will-moore opened this issue Nov 2, 2021 · 0 comments
Open

OptimisticLockException on Save #451

will-moore opened this issue Nov 2, 2021 · 0 comments

Comments

@will-moore
Copy link
Member

File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omero_figure/views.py" in save_web_figure
  321.         update.saveAndReturnObject(fa._obj, conn.SERVICE_OPTS)

File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omero/gateway/__init__.py" in __call__
  4796.             return self.handle_exception(e, *args, **kwargs)

File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omeroweb/webclient/webclient_gateway.py" in handle_exception
  2109.             super(OmeroWebSafeCallWrapper, self).handle_exception(e, *args, **kwargs)

File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omero/gateway/__init__.py" in __call__
  4793.             return self.f(*args, **kwargs)

File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omero_api_IUpdate_ice.py" in saveAndReturnObject
  163.             return _M_omero.api.IUpdate._op_saveAndReturnObject.invoke(self, ((obj, ), _ctx))

Exception Type: OptimisticLockException at /figure/save_web_figure/
Exception Value: exception ::omero::OptimisticLockException
{
    serverStackTrace = ome.conditions.OptimisticLockException: You are not authorized to change the update event for ome.model.core.OriginalFile:Id_3668598 from ome.model.meta.Event:Id_108545313 to ome.model.meta.Event:Id_108545312
You may need to reload the object before continuing.
        at ome.security.basic.OmeroInterceptor.managedEvent(OmeroInterceptor.java:1201)
        at ome.security.basic.OmeroInterceptor.checkManagedDetails(OmeroInterceptor.java:963)
        at ome.security.basic.OmeroInterceptor.resetDetails(OmeroInterceptor.java:465)
        at ome.security.basic.OmeroInterceptor.onFlushDirty(OmeroInterceptor.java:239)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant