Ticket #1739 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

Date of the learning story is wrong

Reported by: jukka Owned by: jukka
Priority: major Milestone:
Component: generic Version:
Keywords: Cc:
Time planned: Time remaining: 0h
Time spent:

Description

http://lemill.net/content/mikael-agricola-1/view

Date for story/collection at the bottom of the page is the date of MemberFolder?. It should be last modification of Collection.

Change History

comment:1 Changed 12 years ago by jukka

  • Priority changed from minor to major

comment:2 Changed 12 years ago by pjotr

Hmm ... this does look strange. I've found the entry for one of my collections in the portal_catalog. The strange thing is that - getLatestEdit does not correspond to ModificationDate? or modified (that seems to be holding the same date as ModificationDate?).

The problem can be easily solved by changing getLatestEdit to ModificationDate? or modified.

But this one might be a bit bigger. We do seem to be using that getLatestEdit in several places of the code. If that is also giving wrong information for the other cases, we might want to find the way to get it right or just switch to using modified, as ti seems more correct and is available for both catalog Indexes and Metadata.

Any ideas about that?

comment:3 Changed 12 years ago by jukka

  • Owner changed from anonymous to jukka
  • Status changed from new to assigned

comment:4 Changed 12 years ago by jukka

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Time remaining set to 0h

(In [2387]) Fixed #1739. It is just that Collections don't inherit field latestEdit, so it is got from object below -- MemberFolder?.

Note: See TracTickets for help on using tickets.