You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2015/08/26 11:51:03 UTC

[jira] [Created] (CB-9556) Plugin install/uninstall does not do proper ref count

Vladimir Kotikov created CB-9556:
------------------------------------

             Summary: Plugin install/uninstall does not do proper ref count
                 Key: CB-9556
                 URL: https://issues.apache.org/jira/browse/CB-9556
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaLib
            Reporter: Vladimir Kotikov
            Assignee: Vladimir Kotikov


If the plugin B is installed by {{cordova plugin add}} command after it was already installed as a dependency to another plugin A it is sill marked as dependency and will be removed after uninstallation of A.

Repro steps:
* Install plugin (a) with dependency on plugin (b)
This installs plugin (a) and plugin (b)
* Install plugin (b)  --- because the user wants to use it
Installation does nothing because plugin (b) is already installed
* Uninstall plugin (a)
This removes both plugin (a) and plugin (b)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org