Page 1 of 1

[fixed] module manager: dependencies management

Posted: Sun May 24, 2015 9:29 pm
by Franck
There's something really weird in the module management:

For V1.xx:
- 1 module that has dependencies = impossible to uninstall (say CGExtensions)
- 1 module that depends from another = possible to uninstall (say CGSmartImage)

V2 : it's exactly the opposite and it seems (to me) absolutely illogical, and even dangerous.

Re: module manager: dependencies management

Posted: Sun May 31, 2015 2:04 pm
by Franck
Noone's annoyed/disturbed by this? Thinks this could be fixed?

Re: module manager: dependencies management

Posted: Sun May 31, 2015 3:40 pm
by calguy1000
We have tested installing upgrading and installing modules in 2.0's module manager and could not see any issue.

When we installed a module dependent upon CGExtensions, CGExtensions was installed along with it.

When we then removed those modules and installed CGExtensions separately, then the dependent modules all worked as expected.

Unless I'm missing something.

Re: module manager: dependencies management

Posted: Sun May 31, 2015 4:36 pm
by Franck
Seems weird to me.

I just tried this on V2:
- uninstall CGExtensions while there are dependencies (CGSmartImage for instance): no problem to uninstall CGE despite of it; I have a warning message for CGE dependent modules saying CGE is needed (logical);
- I have no uninstall link for CGSmartImage and other CGE dependent modules -> I can't uninstall any of them, even if CGE is uninstalled (illogical).

On V1.xx, one can't uninstall CGE as long as there is dependent modules installed. And it is also possible to uninstall those modules (as other non-core ones), there is a link to do so.

It seems it won't break anything, but why can't I uninstall some non-core modules?

Re: module manager: dependencies management

Posted: Sun May 31, 2015 5:12 pm
by calguy1000
Never mind that.... I saw what you were talking about (it was a forest for the trees issue).

Should be fixed in svn.

Re: [fixed] module manager: dependencies management

Posted: Sun May 31, 2015 5:30 pm
by Franck
Thank you. I'll test it tomorrow I think (thanx to JCE) and will let you know.

Re: [fixed] module manager: dependencies management

Posted: Wed Jun 03, 2015 3:02 pm
by Franck
Solved for me.
Tested with SVN 173-10021.