On Fri, May 30, 2014 at 11:50 AM, walid yaich <walid.yaich(a)gmail.com> wrote:
Relying on the import to add approved revisions is... not optimal. If
you want to do this once, then you have two better options:
- add a migrator that will run once when upgrading
- just write a script that goes through all the documents and adds that
object, then run it once
Thanks Sergui.
Why would it be long?
in upgrade docs
<http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade>, you said :
Some additional operations may be required for upgrading and *you must
check the release notes
<http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/WebHome> for all the
versions* from the version you're upgrading from up to the new version
you're installing.
Maybe i should take the time to upgrade... do you think it's better than
taking a fresh version and import all content (it's importing the Main
space, that's it) ??
The export/import does not bring you anything. You still export/import
old pages and you will have to upgrade them, the difference is that
when you do the right way (let XWiki migrate the database) you get a
wizard which takes care of doing 3ways merge for you and indicate you
where you have conflicts.
2014-05-30 2:45 GMT+01:00 Sergiu Dumitriu <sergiu(a)xwiki.com>om>:
On 05/29/2014 03:45 PM, walid yaich wrote:
Thanks,
Actually upgrading from 4.4 to 5.4 Will be too long, isnt it?
In addition i have a listener on document création to add an xobject to
all
documents.
If i just upgrade version all old documents Will not have this object and
so approve révision Will not be applicable to those old document,
Relying on the import to add approved revisions is... not optimal. If
you want to do this once, then you have two better options:
- add a migrator that will run once when upgrading
- just write a script that goes through all the documents and adds that
object, then run it once
--
Sergiu Dumitriu
http://purl.org/net/sergiu
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne