[ 
https://issues.apache.org/jira/browse/CB-8627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Omar Mefire updated CB-8627:
----------------------------
    Description: 
- cordova plugin add https://github.com/Wizcorp/phonegap-facebook-plugin.git
    This results in fetch.json being updated with the plugin info even though 
the plugin installation failed. It should not be the case.

  was:
Trying to add the facebookconnect plugin, with missing variables results in :

- cordova plugin add com.phonegap.plugins.facebookconnect
    This results in an error message, as expected: 'Variable(s) missing (use: 
--variable APP_ID=value --variable APP_NAME=value). and as expected, fetch.json 
is not updated with the plugin info.

However, trying to add the same plugin by using its github repository yields 
the following result : 

- cordova plugin add https://github.com/Wizcorp/phonegap-facebook-plugin.git
    This results in fetch.json being updated with the plugin info even though 
the plugin installation failed. It should not be the case.


> 'cordova plugin add git_url' erroneously updates fetch.json even when the 
> 'add operation fails'
> -----------------------------------------------------------------------------------------------
>
>                 Key: CB-8627
>                 URL: https://issues.apache.org/jira/browse/CB-8627
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Omar Mefire
>            Assignee: Omar Mefire
>
> - cordova plugin add https://github.com/Wizcorp/phonegap-facebook-plugin.git
>     This results in fetch.json being updated with the plugin info even though 
> the plugin installation failed. It should not be the case.



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

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

Reply via email to