Great I will make this modification tomorrow in XWikiDocument.toXMLDocument Jerome you already made a patch to make this in copy document it seems. You apply this yourself or prefer I take the two ? 2007/10/11, Vincent Massol <[email protected]>:
+1
-Vincent
On Oct 10, 2007, at 8:02 AM, Thomas Mortagne wrote:
Hi all,
The packager internal plugin take care if import/export of XAR. It also can be configured and one of theses options is "withVersion". In export mode this options just indicate that the document history is included in export or not. In fact this option is really used in XWikiDocument.toXMLDocument(boolean, boolean, boolean, boolean, XWikiContext).
What I dont understand is why this option did not also reset or delete all version related document's parameters : "version" and "creator", "author", "contentAuthor", "creationDate", "date", "contentUpdateDate" (and maybe more I forget) that are also related to version for me.
I would like to add a "if withVersion=true" for all theses values. WDYT ?
Regards,
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne