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

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

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)

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

We're Hiring!