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

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

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

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.

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

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

We're Hiring!