[
https://issues.apache.org/jira/browse/CB-9556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14712870#comment-14712870
]
ASF GitHub Bot commented on CB-9556:
------------------------------------
GitHub user vladimir-kotikov opened a pull request:
https://github.com/apache/cordova-lib/pull/287
CB-9556 Don't uninstall dependent plugin if it was installed as a top-level
after
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-lib CB-9556
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-lib/pull/287.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #287
----
commit a7e6df0cab6898d4ea49e044a6efe02e3bc20e4b
Author: Vladimir Kotikov <[email protected]>
Date: 2015-08-26T09:58:33Z
CB-9556 Don't uninstall dependent plugin if it was installed as a top-level
after
----
> 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
> *Expected:*
> The plugin B remains installed
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]