Task #5334 (closed)
Opened 13 years ago
Closed 13 years ago
BUG: Corrupt ROI shapes.
Reported by: | wmoore | Owned by: | wmoore |
---|---|---|---|
Priority: | major | Milestone: | OMERO-Beta4.3 |
Component: | Web | Version: | n.a. |
Keywords: | n.a. | Cc: | cblackburn |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | 2011-05-19 (12) |
Description
By propagating and removing shapes from an ROI, it seems possible to produce shape == None when doing
for shape in roi.copyShapes:
Can't reproduce this yet!
ROIs fail to display in web - this needs fixing at least.
Traceback (most recent call last): File "/home/omero/OMERO.server-4.3.0-DEV-5b18a0e8/lib/python/django/core/handlers/base.py", line 92, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/home/omero/OMERO.server-4.3.0-DEV-5b18a0e8/lib/python/omeroweb/webgateway/views.py", line 1564, in get_rois_json shape['id'] = s.getId().getValue() AttributeError: 'NoneType' object has no attribute 'getId'
Change History (2)
comment:1 Changed 13 years ago by Will Moore <will@…>
comment:2 Changed 13 years ago by wmoore
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
(In [6962311b62a6ab38e3ad56e242e64d9793a1e9df/ome.git] on branch develop) Small fix to handle corrupted ROI shapes in web ROI viewer. See #5334