Task #3921 (closed)
BlitzObject.getDate() should save date
Reported by: | wmoore | Owned by: | wmoore |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.3 |
Component: | OmeroPy | Version: | n.a. |
Keywords: | n.a. | Cc: | cneves, atarkowska |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-01-27 (4) |
Description
BlitzObjectWrapper?'s getDate() and creationEventDate() use iQuery to look up the date but do not save the date to the object, so that if the method is called again, it requires another call to the server to get the date.
Change History (4)
comment:1 Changed 13 years ago by wmoore
comment:2 Changed 13 years ago by wmoore
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 13 years ago by Carlos Neves <carlos@…>
- Remaining Time set to 0
(In [23637207b86a122186adef65fe3cdd31c6c011a0/ome.git] on branch dev_4_1_custom) BlitzObjectWrapper?.creationEventDate() saves date. getDate() returns acquisition date for ImageWrapper?. Closes #3921
git-svn-id: file:///home/svn/omero/trunk@8925 05709c45-44f0-0310-885b-81a1db45b4a6
comment:4 Changed 13 years ago by Carlos Neves <carlos@…>
(In [23637207b86a122186adef65fe3cdd31c6c011a0/ome.git]on branches 4_1_custom, dev_4_1_custom, josh/4.1-web-backport) BlitzObjectWrapper?.creationEventDate() saves date. getDate() returns acquisition date for ImageWrapper?. Closes #3921
git-svn-id: file:///home/svn/omero/trunk@8925 05709c45-44f0-0310-885b-81a1db45b4a6
r8925 fixes this, and also removes the ImageWrapper?.getDate() method. This was overwriting the ObjectWrapper? method to return the creationDate, but for Image you really want the acquisition date to be available.