WAIT WAIT WAIT... We already went through this. When I export a document (say an application), I want to be able to export it without the version history, but with other attributes preserved!!
I don't think this is a good idea.. -1, -1!!! Perhaps it could be combined with the preserveVersion flag? If withVersions is false and preserveVersion is false then clear those fields, if withVersions is false, and preserveVersion is true then leave the fields alone, if withVersions is true, leave the fields alone On 10/11/07, Thomas Mortagne <[EMAIL PROTECTED]> wrote: > 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 > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > -- 'Waste of a good apple' -Samwise Gamgee _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

