[fixed] module manager: dependencies management

Forum rules
Only administrators can post or move items here.
Post Reply
User avatar
Franck
Dev Team Member
Dev Team Member
Posts: 259
Joined: Tue Jun 12, 2007 1:29 pm
Location: France

[fixed] module manager: dependencies management

Post 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.
User avatar
Franck
Dev Team Member
Dev Team Member
Posts: 259
Joined: Tue Jun 12, 2007 1:29 pm
Location: France

Re: module manager: dependencies management

Post by Franck »

Noone's annoyed/disturbed by this? Thinks this could be fixed?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: module manager: dependencies management

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
Franck
Dev Team Member
Dev Team Member
Posts: 259
Joined: Tue Jun 12, 2007 1:29 pm
Location: France

Re: module manager: dependencies management

Post 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?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: module manager: dependencies management

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
Franck
Dev Team Member
Dev Team Member
Posts: 259
Joined: Tue Jun 12, 2007 1:29 pm
Location: France

Re: [fixed] module manager: dependencies management

Post by Franck »

Thank you. I'll test it tomorrow I think (thanx to JCE) and will let you know.
User avatar
Franck
Dev Team Member
Dev Team Member
Posts: 259
Joined: Tue Jun 12, 2007 1:29 pm
Location: France

Re: [fixed] module manager: dependencies management

Post by Franck »

Solved for me.
Tested with SVN 173-10021.
Post Reply

Return to “Closed Issues”