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 #9432 (closed)

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

Bug: OMERO.web does not support shapes which span entire stack or timepoint

Reported by: cxallan Owned by: cxallan
Priority: blocker Milestone: OMERO-4.4.4
Component: Web 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-08-14 (2)

Description

In the OME model when a Shape's theZ or theT property is null, the Shape is assumed to be on all sections or all timepoints respectively. Currently OMERO.web assumes that theZ and theT are always present, resulting in exceptions such as:

File "/home/callan/code/ome.git/dist/lib/python/django/core/handlers/base.py" in get_response
  111.                         response = callback(request, *callback_args, **callback_kwargs)
File "/home/callan/code/ome.git/components/tools/OmeroWeb/omeroweb/../omeroweb/decorators.py" in wrapped
  376.             retval = f(request, *args, **kwargs)
File "/home/callan/code/ome.git/components/tools/OmeroWeb/omeroweb/webgateway/views.py" in get_rois_json
  1898.             shapes.append(shapeMarshal(s))
File "/home/callan/code/ome.git/components/tools/OmeroWeb/omeroweb/webgateway/views.py" in shapeMarshal
  1289.     rv['theT'] = shape.getTheT().getValue()

Change History (5)

comment:1 Changed 7 years ago by cxallan

  • Cc web-team@… added
  • Owner changed from web-team@… to cxallan
  • Status changed from new to accepted

comment:2 Changed 7 years ago by cxallan

Fixes are up on my web-viewer-roi-fixes branch:

comment:3 Changed 7 years ago by cxallan

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

comment:5 Changed 7 years ago by Chris Allan <callan@…>

(In [ab2e271a41051560a0b269c0c4bf13b8bc860ff6/ome.git] on branch develop) Allow shapes to be present on all sections or timepoints. (See #9432)

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

We're Hiring!