User Story #413 (closed)
Opened 16 years ago
Closed 13 years ago
ThumbImpl (and all services) should either copy inputs or check for unloadeds.
Reported by: | jamoore | Owned by: | cxallan |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.2 |
Component: | Services | Keywords: | n.a. |
Cc: | Story Points: | n.a. | |
Sprint: | n.a. | Importance: | n.a. |
Total Remaining Time: | n.a. | Estimated Remaining Time: | n.a. |
Description
Since the client may not be aware that a certain object is unloaded, either a defensive copy (iquery.get(obj.getClass(),obj.getId())) should be made or an appropriate exception thrown.
ome.conditions.InternalException: Wrapped Exception: (java.lang.IllegalStateException): Object unloaded:Pixels:Id_1 at ome.model.core.Pixels.errorIfUnloaded(Pixels.java:1830) at ome.model.core.Pixels.preGetter(Pixels.java:85) at ome.model.core.Pixels.getSizeX(Pixels.java:983) at ome.logic.ThumbImpl.sanityCheckThumbnailSizes(ThumbImpl.java:299) at ome.logic.ThumbImpl.getThumbnailDirect(ThumbImpl.java:419)
Change History (3)
comment:1 Changed 14 years ago by cxallan
- Milestone changed from Unscheduled to OMERO-Beta4.1
- Status changed from new to assigned
- Version 3.0-M3 deleted
comment:2 Changed 13 years ago by cxallan
- Milestone changed from OMERO-Beta4.1 to OMERO-Beta4.2
comment:3 Changed 13 years ago by cxallan
- Resolution set to duplicate
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Closing in favour of the exception review (#1649).