You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jan Velecký (JIRA)" <ji...@apache.org> on 2014/07/10 01:16:05 UTC

[jira] [Created] (CB-7112) Removing plugin with dependecy

Jan Velecký created CB-7112:
-------------------------------

             Summary: Removing plugin with dependecy
                 Key: CB-7112
                 URL: https://issues.apache.org/jira/browse/CB-7112
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
    Affects Versions: 3.5.0
         Environment: Window 7 64bit
            Reporter: Jan Velecký
            Priority: Blocker


When user add plugin with need another denpendency, there is problem with deleting them. When user delete this plugin, dependency remain in project. Then, when user want delete dependendent plugin, plugin will be deleted, but remain in "dependent_plugins" in plugin.json file. And then everything is broken...

Easy reproduction:
Create new project
cordova plugin add https://github.com/floatinghotpot/cordova-plugin-admob.git
// now delete it
cordova plugin rm com.rjfun.cordova.plugin.admob
// com.google.playservices remain unaffected
cordova plugin rm com.google.playservices
// GPS plugin remain in plugin.json



--
This message was sent by Atlassian JIRA
(v6.2#6252)