Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #8704 (closed)

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

BUG: Creation is not allowed while in share.

Reported by: atarkowska Owned by: jamoore
Priority: blocker Milestone: OMERO-4.4
Component: Services Version: n.a.
Keywords: n.a. Cc: web-team@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-04-24 (13)

Description

In addition to #8685 when I remove omero.group I have the following error

2012-05-04 13:11:09,570 ERROR [                           omero.gateway] (proc.09201) getThumbnail:5929 Traceback (most recent call last):
  File "/Users/ola/Dev/omero/dist/lib/python/omero/gateway/__init__.py", line 5884, in getThumbnail
    tb = self._prepareTB()
  File "/Users/ola/Dev/omero/dist/lib/python/omero/gateway/__init__.py", line 5767, in _prepareTB
    has_rendering_settings = tb.setPixelsId(pid, sopts)
  File "/Users/ola/Dev/omero/dist/lib/python/omero/gateway/__init__.py", line 3209, in __call__
    return self.handle_exception(e, *args, **kwargs)
  File "/Users/ola/Dev/omero/components/tools/OmeroWeb/omeroweb/webclient/webclient_gateway.py", line 1756, in handle_exception
    e, *args, **kwargs)
  File "/Users/ola/Dev/omero/dist/lib/python/omero/gateway/__init__.py", line 3206, in __call__
    return self.f(*args, **kwargs)
  File "/Users/ola/Dev/omero/dist/lib/python/omero_api_ThumbnailStore_ice.py", line 95, in setPixelsId
    return _M_omero.api.ThumbnailStore._op_setPixelsId.invoke(self, ((pixelsId, ), _ctx))
SecurityViolation: exception ::omero::SecurityViolation
{
    serverStackTrace = ome.conditions.SecurityViolation: Creation is not allowed while in share.

Change History (5)

comment:2 Changed 7 years ago by jmoore

The relationship to "omero.group" is probably covered by our previous conversations (i.e. if omero.share is set, omero.group will be ignored).

That being said, do you know if this worked in 4.3? I believe the object creation never worked under shares, however it may be an issue of the thumbnailbean not detecting the share.

comment:3 Changed 7 years ago by atarkowska

It was definitely working in 4.3. Its about creating rendering settings by the member of the share. The same problem we had few years ago in #1179

comment:4 Changed 7 years ago by jmoore

  • Resolution set to fixed
  • Status changed from new to closed

Pushed to ola/sprint15-web-bugfixes

comment:5 Changed 7 years ago by jmoore <josh@…>

  • Remaining Time set to 0

(In [46ef7a4c5b1bac95d7d87a6ca9364e109a03096b/ome.git] on branch develop) Allow thumbnail non-RO methods in shares (Fix #8704)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.77808 sec.)

We're Hiring!