Author: vmassol Date: 2008-01-23 19:18:47 +0100 (Wed, 23 Jan 2008) New Revision: 7025
Modified: xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/java/com/xpn/xwiki/doc/XWikiDocumentArchive.java Log: XWIKI-2029: When loading a revision of a document the creation date is incorrectly set as the last modification date Merged from trunk (rev 7024) Modified: xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/java/com/xpn/xwiki/doc/XWikiDocumentArchive.java =================================================================== --- xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/java/com/xpn/xwiki/doc/XWikiDocumentArchive.java 2008-01-23 18:16:06 UTC (rev 7024) +++ xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/java/com/xpn/xwiki/doc/XWikiDocumentArchive.java 2008-01-23 18:18:47 UTC (rev 7025) @@ -307,9 +307,6 @@ doc.setRCSVersion(version); doc.setComment(nodeInfo.getComment()); - doc.setDate(nodeInfo.getDate()); - doc.setCreationDate(nodeInfo.getDate()); - doc.setContentUpdateDate(nodeInfo.getDate()); doc.setAuthor(nodeInfo.getAuthor()); doc.setMinorEdit(nodeInfo.isMinorEdit()); doc.setMostRecent(version.equals(getLatestVersion())); _______________________________________________ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications