Task #9643 (closed)
BUG: image.simpleMarshal throws exc without valid pixels
Reported by: | cneves | Owned by: | cneves |
---|---|---|---|
Priority: | blocker | Milestone: | OMERO-4.4.4 |
Component: | OmeroPy | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
As a side effect of https://github.com/openmicroscopy/openmicroscopy/commit/67c9e7361636839b42550fd4f65ee73e223472b6 an image without pixels (and thus getSizeX|Y returns null) will throw an exception on image.simpleMarshal, which is called from dataset.listChildren and webgateway.views.listImages_json, both calls failing.
A simple try block will fix this
Change History (3)
comment:1 Changed 12 years ago by cneves
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 12 years ago by Carlos Neves <carlos@…>
(In [e049a90ee47bd336127dfb6b01132293ffcd2f6d/ome.git] on branch develop) Fixing image simpleMarshal for imgs without pixels (see #9643)
comment:3 Changed 12 years ago by Josh Moore <josh@…>
(In [63f94587f673c228a105637e9e88f041bc20145e/ome.git] on branch develop) Merge pull request #378 from cneves/tickets/9643
Fixing image simpleMarshal for imgs without pixels (see #9643)
... or an if block :)
https://github.com/openmicroscopy/openmicroscopy/pull/378