You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Marcus Pridham (JIRA)" <ji...@apache.org> on 2013/11/14 18:43:20 UTC

[jira] [Created] (CB-5390) Removing a plugin with multi-level dependencies does not removal all plugins

Marcus Pridham created CB-5390:
----------------------------------

             Summary: Removing a plugin with multi-level dependencies does not removal all plugins
                 Key: CB-5390
                 URL: https://issues.apache.org/jira/browse/CB-5390
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI, Plugman
    Affects Versions: 3.2.0
            Reporter: Marcus Pridham
            Priority: Minor


I have 3 plugins that depend on each other. a depends on b that depends on c.  a -> b -> c

The problem is that if I install plugin a and remove it later it leaves plugin c for some reason.

{code}
$ cordova plugin rm a
Uninstalling 2 dangling dependent plugins.
Uninstalling c from ios
Uninstalling b from ios
Preparing ios project
Preparing ios project
Uninstalling a from ios
Preparing ios project
Deleting plugin a
Found 2 removable plugins. Deleting them.
$ cordova plugins
[ 'c' ]
{code}

The sample plugins can be found here:
https://github.com/marcuspridham/plugman-issue

I'm using Cordova CLI 3.2.0-rc.1.



--
This message was sent by Atlassian JIRA
(v6.1#6144)