Task #9432 (closed)
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 12 years ago by cxallan
- Cc web-team@… added
- Owner changed from web-team@… to cxallan
- Status changed from new to accepted
comment:2 Changed 12 years ago by cxallan
comment:3 Changed 12 years ago by cxallan
- Remaining Time changed from 0.25 to 0
- Resolution set to fixed
- Status changed from accepted to closed
comment:4 Changed 12 years ago by cxallan
comment:5 Changed 12 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)
Fixes are up on my web-viewer-roi-fixes branch: