You can "add the attribute", the issue is that the document you are importing contain an attribute that 6.4 does not understand.
I think we need to modify the importer to just ignore what it does not know. In the meantime all you could do is remove the Timezone property in the XAR but this is not so easy if you have lots of users. On Thu, Jan 28, 2016 at 7:02 PM, Gerritjan Koekkoek <[email protected]> wrote: > If I would add the attribute, you think it would work? > > Verstuurd vanaf mijn iPhone > >> Op 28 jan. 2016 om 15:24 heeft Thomas Mortagne <[email protected]> >> het volgende geschreven: >> >> So in the case of a user the issue if that 7.4 users contain a >> property unknown from 6.4.x (the Timezone). >> >> On Thu, Jan 28, 2016 at 2:20 PM, Thomas Mortagne >> <[email protected]> wrote: >>> Created http://jira.xwiki.org/browse/XWIKI-13038. >>> >>> On Thu, Jan 28, 2016 at 2:18 PM, Thomas Mortagne >>> <[email protected]> wrote: >>>> I just reproduced it by exporting a user from my tuska.myxwiki.org >>>> wiki and trying to import it in 6.4.6. Working on it. >>>> >>>> On Thu, Jan 28, 2016 at 2:14 PM, Gerritjan Koekkoek >>>> <[email protected]> wrote: >>>>> I could send you the two files? >>>>> Should I send you the files via wetransfer.com? >>>>> >>>>> >>>>> Gerritjan Koekkoek >>>>> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS >>>>> Visit our website >>>>> Facebook >>>>> email >>>>> >>>>> >>>>> >>>>> >>>>> ________________________________________ >>>>> From: users <[email protected]> on behalf of Thomas Mortagne >>>>> <[email protected]> >>>>> Sent: 28 January 2016 14:12 >>>>> To: XWiki Users >>>>> Subject: Re: [xwiki-users] MyXWiki: migrate users to a permanent XWiki >>>>> instance >>>>> >>>>> So you do have an error during import, no need to search for it if the >>>>> import fail. >>>>> >>>>> I will try to reproduce your use case. >>>>> >>>>> >>>>> On Thu, Jan 28, 2016 at 2:05 PM, Gerritjan Koekkoek >>>>> <[email protected]> wrote: >>>>>> I've tried two scenario's. >>>>>> >>>>>> Export a single user by going to the local user page and export as XAR >>>>>> Then import that XAR in 6.4.7 >>>>>> I get the selection list and I select the user page >>>>>> Then click import >>>>>> Importing XWiki.JoseLaheij.xar: Import successful >>>>>> 0 Document(s) installed >>>>>> 0 Document(s) skipped >>>>>> 1 Document(s) with error >>>>>> List of erroneous documents >>>>>> XWiki/JoseLaheij.xml >>>>>> >>>>>> When navigating to the erroneous document: >>>>>> Not Found >>>>>> >>>>>> The requested URL /xwiki/bin/view/XWiki/JoseLaheij/xml was not found on >>>>>> this server. >>>>>> >>>>>> The url looks a bit strange: >>>>>> http://www.waihonapedia.org/xwiki/bin/view/XWiki%2FJoseLaheij/xml >>>>>> (the %2F instead of /) >>>>>> >>>>>> The other scenario i used was using the wiki preferences on myXWiki and >>>>>> click export. >>>>>> Without any dialog a backup.xar is created >>>>>> When importing the backup.xar on 6.4.7 file is successfully attached, >>>>>> but when clicking to import there is no page shown although the size is >>>>>> 17MB >>>>>> >>>>>> Gerritjan Koekkoek >>>>>> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS >>>>>> Visit our website >>>>>> Facebook >>>>>> email >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ________________________________________ >>>>>> From: users <[email protected]> on behalf of Thomas Mortagne >>>>>> <[email protected]> >>>>>> Sent: 27 January 2016 20:58 >>>>>> To: XWiki Users >>>>>> Subject: Re: [xwiki-users] MyXWiki: migrate users to a permanent XWiki >>>>>> instance >>>>>> >>>>>> XAR exported in 7.3 are supposed to be compatible with 6.4.x (or 1.0 >>>>>> for that matter). Unless you use things like sub space which simply >>>>>> don't exist in 6.4 (but even in this case you will get your document >>>>>> imported, just not exactly in the same place). >>>>>> >>>>>> Do you get an error when you import it in the UI or in the log ? >>>>>> >>>>>> On Wed, Jan 27, 2016 at 7:02 PM, Gerritjan Koekkoek >>>>>> <[email protected]> wrote: >>>>>>> Hi, >>>>>>> >>>>>>> >>>>>>> The last half year we have used a free wiki from myXWiki.org, thanks a >>>>>>> lot. >>>>>>> >>>>>>> Now we have decides to have a dedicated XWiki. Is it possible to >>>>>>> migrate the local users in that myXWiki instance to the new wiki. >>>>>>> >>>>>>> I tried to export one user as XAR and import it, but it does not >>>>>>> convert to a user-object >>>>>>> >>>>>>> The same problem with a macro page with the XWikiMacro and >>>>>>> XWikiMacroParameters objects. >>>>>>> >>>>>>> It results in empty wiki pages in the new wiki >>>>>>> >>>>>>> >>>>>>> myXWiki = 7.3 >>>>>>> >>>>>>> The new wiki is on 6.4.x >>>>>>> >>>>>>> So maybe a downgrade export/import not possible? >>>>>>> >>>>>>> >>>>>>> Gerritjan Koekkoek >>>>>>> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS >>>>>>> Visit our website<http://www.cdlsworld.org> >>>>>>> Facebook<https://www.facebook.com/gerritjan.koekkoek> >>>>>>> email<[email protected]> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> users mailing list >>>>>>> [email protected] >>>>>>> http://lists.xwiki.org/mailman/listinfo/users >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Thomas Mortagne >>>>>> _______________________________________________ >>>>>> users mailing list >>>>>> [email protected] >>>>>> http://lists.xwiki.org/mailman/listinfo/users >>>>>> _______________________________________________ >>>>>> users mailing list >>>>>> [email protected] >>>>>> http://lists.xwiki.org/mailman/listinfo/users >>>>> >>>>> >>>>> >>>>> -- >>>>> Thomas Mortagne >>>>> _______________________________________________ >>>>> users mailing list >>>>> [email protected] >>>>> http://lists.xwiki.org/mailman/listinfo/users >>>>> _______________________________________________ >>>>> users mailing list >>>>> [email protected] >>>>> http://lists.xwiki.org/mailman/listinfo/users >>>> >>>> >>>> >>>> -- >>>> Thomas Mortagne >>> >>> >>> >>> -- >>> Thomas Mortagne >> >> >> >> -- >> Thomas Mortagne >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
