You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/08/26 12:01:46 UTC
[jira] [Commented] (CB-9556) Plugin install/uninstall does not do
proper ref count
[ 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 <v-...@microsoft.com>
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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org