Red Hat Bugzilla – Bug 101749
draft items do not have last modified or creation dates
Last modified: 2007-04-18 12:56:40 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703
Description of problem:
In my case, I'm only concerned with draft items for UNDP's content-item backed
document manager. Currenlty, it looks like creation/modified dates only get set
for published items.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Need to code to reproduce I think, just call item.getLastModifiedDate() and
It looks like the root of the problem is that
Versions.getAuditInfo(OID) calls getCreationTxn(), which calls
getTaggedTxns(). Unfortunately, almost no transactions are tagged.
Only transactions having to do with completing Workflow tasks and
publishing are tagged. It appears that almost every use of
getTaggedTxns() in Versions (in getMostRecentTxnID(),
getCreationTxn(), and getLastTxn()) should be replaced with getTxns().
Putting on Troika 6.0.1 blocker list
merged to troika (38810)