On Mon, Nov 21, 2016 at 9:26 AM, Vincent Massol <[email protected]> wrote: > >> On 21 Nov 2016, at 09:24, Thomas Mortagne <[email protected]> wrote: >> >> On Sun, Nov 20, 2016 at 9:25 PM, Vincent Massol <[email protected]> wrote: >>> >>>> On 20 Nov 2016, at 19:11, Sergiu Dumitriu <[email protected]> wrote: >>>> >>>> On 11/20/2016 05:47 AM, Vincent Massol wrote: >>>>> Hi Sergiu, >>>>> >>>>>> On 20 Nov 2016, at 05:26, Sergiu Dumitriu <[email protected]> wrote: >>>>>> >>>>>> Are you perhaps installing as a farm extension? >>>>> >>>>> Yes, I am. There’s a namespace constraint of {root} in the pom for some >>>>> modules I’m installing. >>>>> >>>>>> As to why are some extensions removed but not installed, that's simple. >>>>>> Removing Tree Macro also removes all its dependants, like the Document >>>>>> Tree Macro. >>>>> >>>>> Yes but why is the Tree Macro removed? >>>> >>>> It's removed as a wiki extension, and installed as a farm extension, >>>> probably to avoid conflicts. >>> >>> Indeed, good catch. I guess we could make this more visible in the EM UI. >>> >>>> But there's no indication left that those dependants are to >>>>>> be installed back. >>>>> >>>>> Yep that’s the strange part. >>> >>> This problem remains and it could also be some missing info in the UI. >>> >>> Now I hope that the fact that all deps are re-installed in the root >>> namespace isn’t going to cause problems anywhere. It’s not very nice that >>> when this extension is installed it’s causing such a big change. >> >> Are you really sure it's right to install License Manager APPLICATION >> at root level ? Sounds like a XAR extension to me, if that's expected >> then I would say there is something wrong in the design. > > Sure and I’ve already changed that (wasn’t done by me initially) but the 2 > open questions of this thread remain.
Yes dependencies of a root extension has to be root too of it would not make any sense. Extensions with the same id/features are not allowed to be available at the same time in the same scope (sure way to have all sort of weird issues) so yes when an extension is installed at root level then all extensions matching its id/features are removed from other namespaces. > > Thanks > -Vincent > >> Thanks >>> -Vincent >>> >>>>> Thanks >>>>> -Vincent >>>>> >>>>>> On 11/19/2016 07:27 AM, Vincent Massol wrote: >>>>>>> Actually there are even extensions listed that will be removed and not >>>>>>> reinstalled… >>>>>>> >>>>>>> Why is that? Looks very wrong. >>>>>>> >>>>>>> FTR I’m on XWiki 8.4. >>>>>>> >>>>>>> Thanks >>>>>>> -Vincent >>>>>>>> On 19 Nov 2016, at 13:26, Vincent Massol <[email protected]> wrote: >>>>>>>> >>>>>>>> Hi devs, >>>>>>>> >>>>>>>> When trying to install a new extension I was surprised to see that EM >>>>>>>> is saying that it’ll removed existing installed extensions to replace >>>>>>>> them with the same extension in the same version. >>>>>>>> >>>>>>>> See screenshot: >>>>>>>> https://www.evernote.com/l/AHfLVOUhq8ZIrpItBgPWw1KOQ7E2uvCukTU >>>>>>>> >>>>>>>> Any idea? Is that a known bug/limitation? >>>>>>>> >>>>>>>> Thanks >>>>>>>> -Vincent >>> >>> _______________________________________________ >>> devs mailing list >>> [email protected] >>> http://lists.xwiki.org/mailman/listinfo/devs >> >> >> >> -- >> Thomas Mortagne >> _______________________________________________ >> devs mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/devs > > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

