OK thanks for the report, I will look at it. On Mon, Jul 21, 2014 at 10:55 AM, "Valdis Vītoliņš" <valdis.vitol...@odo.lv> wrote: > I checked it with XAR export and import for single page and seems it has > bug in date handling http://jira.xwiki.org/browse/XWIKI-10671 > > Valdis > >> <?xml version="1.0" encoding="UTF-8"?> >> <xwikidoc> >> <web>Arts</web> >> <name>Dussek</name> >> <language></language> >> <defaultLanguage>lv</defaultLanguage> >> <translation>0</translation> >> <parent>Arts.ComposerClass</parent> >> <creator>XWiki.kalvis</creator> >> <author>XWiki.Admin</author> >> <customClass></customClass> >> <contentAuthor>XWiki.Admin</contentAuthor> >> <creationDate>1196956297000</creationDate> >> <date>1307369562000</date> >> <contentUpdateDate>1307369562000</contentUpdateDate> >> <version>1.1</version> >> <title></title> >> <template></template> >> <defaultTemplate></defaultTemplate> >> <validationScript></validationScript> >> <comment>Imported from XAR</comment> >> <minorEdit>false</minorEdit> >> <syntaxId>xwiki/1.0</syntaxId> >> <hidden>false</hidden> >> <object> >> <class> >> ... >> </versions></xwikidoc> >> >> Valdis >> >>> Could you print the XML located in the XAR file for the the example >>> you gave ? Maybe the issue is at export level. >>> >>> On Mon, Jul 21, 2014 at 9:24 AM, "Valdis Vītoliņš" >>> <valdis.vitol...@odo.lv> wrote: >>>> I've used >>>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import >>>> snippet and >>>> http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Platform+-+WikiStream+-+UI >>>> application to migrate XWiki to the new server. >>>> In both cases they show incorrect document creation and last change >>>> dates. >>>> E.g.: >>>> >>>> Last modified by Administrator on 2011-06-06 17:12 >>>> Created by User on 2014-07-21 10:11 >>>> >>>> but it should be vice versa: >>>> >>>> Last modified by Administrator on 2014-07-21 10:11 >>>> Created by User on 2011-06-06 17:12 >>>> >>>> History table shows following: >>>> 1.1 Administrator 2011-06-06 17:12 Imported from XAR Current version >>>> >>>> Which is also misleading, because if XAR import is noted in history, it >>>> should show last modification date (2014-07-21 10:11), not creation >>>> date >>>> (2011-06-06 17:12). >>>> >>> >>>> I can register new bug if my thoughts seems reasonable, but I'm more >>>> interested in workaround how to "fix" it in the way. >>> >>> Need to be sure what is the issue exactly first. >>> >>>> >>>> Thanks! >>>> Valdis >>>> >>>> _______________________________________________ >>>> users mailing list >>>> users@xwiki.org >>>> http://lists.xwiki.org/mailman/listinfo/users >>> >>> >>> >>> -- >>> Thomas Mortagne >>> >> >> >> _______________________________________________ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> > >
-- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users