[
https://issues.apache.org/jira/browse/CB-9556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14723253#comment-14723253
]
ASF subversion and git services commented on CB-9556:
-----------------------------------------------------
Commit 41765f1fd7393be1fff2b39ba7cf00b5bf6f1ef1 in cordova-lib's branch
refs/heads/master from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=41765f1 ]
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]