Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
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 #7827 (closed)

Opened 12 years ago

Closed 12 years ago

Bug: resetDefaults called in read-only group

Reported by: jamoore Owned by: cxallan
Priority: major Milestone: OMERO-4.4
Component: Web Version: n.a.
Keywords: n.a. Cc: python-team@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-06-19 (17)

Description

Found this in the log from Amanda Miotto. Either a check should be in place to prevent the call, or if it's being handled, then there's no reason for it to be logged with the full stack trace (see #7826)

Wed, 18 Jan 2012 04:07:21 blitz_gateway WARNING  ApiUsageException on <class 'webclient.webclient_gateway.OmeroWebSafeCallWrapper'> to <7f:0:0:1:455586e:134eefd9653:
-7ff4omero.api.ThumbnailStore> resetDefaults((), {})
Traceback (most recent call last):
  File "/opt/omero2/lib/python/omero/gateway/__init__.py", line 2954, in __call__
    return self.f(*args, **kwargs)
  File "/opt/omero2/lib/python/omero_api_ThumbnailStore_ice.py", line 184, in resetDefaults
    return _M_omero.api.ThumbnailStore._op_resetDefaults.invoke(self, ((), _ctx))
ApiUsageException: exception ::omero::ApiUsageException
{
    serverStackTrace = ome.conditions.ApiUsageException: Unable to reset rendering settings in a read-only group for Pixels set id:8
        at ome.services.ThumbnailBean.resetDefaults(ThumbnailBean.java:1236)

Two per image for several images:

    message = Unable to reset rendering settings in a read-only group for Pixels set id:51
    message = Unable to reset rendering settings in a read-only group for Pixels set id:51
    message = Unable to reset rendering settings in a read-only group for Pixels set id:11
    message = Unable to reset rendering settings in a read-only group for Pixels set id:11
    message = Unable to reset rendering settings in a read-only group for Pixels set id:7
    message = Unable to reset rendering settings in a read-only group for Pixels set id:7
    message = Unable to reset rendering settings in a read-only group for Pixels set id:9
    message = Unable to reset rendering settings in a read-only group for Pixels set id:9
    message = Unable to reset rendering settings in a read-only group for Pixels set id:8
    message = Unable to reset rendering settings in a read-only group for Pixels set id:8

Change History (3)

comment:1 Changed 12 years ago by jmoore

  • Cc team removed

comment:2 Changed 12 years ago by cxallan

  • Remaining Time set to 0.25
  • Sprint set to 2012-06-19 (17)
  • Status changed from new to accepted

comment:3 Changed 12 years ago by cxallan

  • Remaining Time changed from 0.25 to 0
  • Resolution set to worksforme
  • Status changed from accepted to closed

In milestone:OMERO-Beta4.4 this operation is visually dis-allowed in the full viewer for read-only group members, allowed for read-annotate group members (tested with user-1, user-2 and user-3 from the permissions list). Seems to have all been cleaned up by the permissions work and user interface work. Closing.

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.71180 sec.)

We're Hiring!