Not sure refactoring is the right place.

IMO, it should be generically handled by some listener for moving any
document having a class inside it (and fixing all the objects). But for
that we would first need to have a DocumentRenam(ing/ed)Event being
triggered by the rename operation(s).

Thanks,
Eduard

On Wed, Apr 20, 2016 at 9:43 AM, Thomas Mortagne <thomas.morta...@xwiki.com>
wrote:

> The main issue is probably that moving a class is not that simple
> right now, when you move the class defining all the application
> entries they all end up broken (they keep referencing the old class
> location). We need to add support for it in the refactoring module.
>
> On Tue, Apr 19, 2016 at 10:21 PM, Vincent Massol <vinc...@massol.net>
> wrote:
> > Hi,
> >
> >> On 19 Apr 2016, at 22:02, Ryszard Łach <ryszard.l...@unity.pl> wrote:
> >>
> >> Hi.
> >>
> >> Is there a way to migrate (xwiki 7.2.4) an application created via
> AppWithinMInutes to another node in the same wiki tree, with all documents
> created by the app ? The easy way (move parent document with all children)
> doesn't seem to work.
> >
> > AWM creates the app in a space (2 spaces before 7.3/7.4 and a single
> space after) so if you move those spaces it should work fine.
> >
> > If not then it’s a bug IMO.
> >
> > Thanks
> > -Vincent
> >
> >> TIA,
> >>
> >> R.
> >
> > _______________________________________________
> > 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

Reply via email to