[
https://issues.apache.org/jira/browse/CB-10761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15249571#comment-15249571
]
ASF subversion and git services commented on CB-10761:
------------------------------------------------------
Commit 0c61fb097d5f6a317560adbb2165ff916642c5c7 in cordova-lib's branch
refs/heads/master from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=0c61fb0 ]
CB-10761 Resore plugins saved without spec attribute
> 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
> Labels: reproduced, triaged
>
> 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: [email protected]
For additional commands, e-mail: [email protected]