[xwiki-users] Incorrect creation and modification dates after importing documents from xar
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. Thanks! Valdis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Incorrect creation and modification dates after importing documents from xar
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
Re: [xwiki-users] Incorrect creation and modification dates after importing documents from xar
?xml version=1.0 encoding=UTF-8? xwikidoc webArts/web nameDussek/name language/language defaultLanguagelv/defaultLanguage translation0/translation parentArts.ComposerClass/parent creatorXWiki.kalvis/creator authorXWiki.Admin/author customClass/customClass contentAuthorXWiki.Admin/contentAuthor creationDate1196956297000/creationDate date1307369562000/date contentUpdateDate1307369562000/contentUpdateDate version1.1/version title/title template/template defaultTemplate/defaultTemplate validationScript/validationScript commentImported from XAR/comment minorEditfalse/minorEdit syntaxIdxwiki/1.0/syntaxId hiddenfalse/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
Re: [xwiki-users] Incorrect creation and modification dates after importing documents from xar
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 webArts/web nameDussek/name language/language defaultLanguagelv/defaultLanguage translation0/translation parentArts.ComposerClass/parent creatorXWiki.kalvis/creator authorXWiki.Admin/author customClass/customClass contentAuthorXWiki.Admin/contentAuthor creationDate1196956297000/creationDate date1307369562000/date contentUpdateDate1307369562000/contentUpdateDate version1.1/version title/title template/template defaultTemplate/defaultTemplate validationScript/validationScript commentImported from XAR/comment minorEditfalse/minorEdit syntaxIdxwiki/1.0/syntaxId hiddenfalse/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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Incorrect creation and modification dates after importing documents from xar
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 webArts/web nameDussek/name language/language defaultLanguagelv/defaultLanguage translation0/translation parentArts.ComposerClass/parent creatorXWiki.kalvis/creator authorXWiki.Admin/author customClass/customClass contentAuthorXWiki.Admin/contentAuthor creationDate1196956297000/creationDate date1307369562000/date contentUpdateDate1307369562000/contentUpdateDate version1.1/version title/title template/template defaultTemplate/defaultTemplate validationScript/validationScript commentImported from XAR/comment minorEditfalse/minorEdit syntaxIdxwiki/1.0/syntaxId hiddenfalse/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