You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Richard B Knoll (JIRA)" <ji...@apache.org> on 2016/03/02 21:09:18 UTC

[jira] [Created] (CB-10761) cordova prepare does not restore saved plugins with no version

Richard B Knoll created CB-10761:
------------------------------------

             Summary: cordova prepare does not restore saved plugins with no version
                 Key: CB-10761
                 URL: https://issues.apache.org/jira/browse/CB-10761
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaLib
            Reporter: Richard B Knoll


If you give a plugin element in config.xml but do not give the {{spec}} attribute like so:
{code}
<plugin name="cordova-plugin-inappbrowser" />
{code}
Then when you run {{cordova prepare}} the CLI will not install the plugin but will print out a message saying that it is installing it.
{code}
$ cordova prepare
  Discovered plugin "cordova-plugin-inappbrowser" in config.xml. Installing to the project
{code}

Giving the {{spec}} attribute causes the same message but the plugin will actually be installed. I'm not sure what the intended behavior is, but we need to fix it and add some test cases.



--
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