cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Higgins (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-7698) CLI: no validation for globally required plugin variables
Date Thu, 02 Oct 2014 14:05:38 GMT

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

Bryan Higgins updated CB-7698:
------------------------------
    Component/s: CLI
    Description: 
CLI should check that any globally required variables (preference at root level in plugin.xml)
have been provided before calling plugman.install on the platforms. Otherwise the plugin is
added to the project but plugman fails to install to any platforms.

>From the docs:

plugman checks that these required preferences are passed in. If not, it should warn the user
how to pass the variable in and exit with a non-zero code.

http://cordova.apache.org/docs/en/3.6.0/plugin_ref_spec.md.html#Plugin%20Specification

  was:
Plugman is missing validation logic as described in the documentation:

plugman checks that these required preferences are passed in. If not, it should warn the user
how to pass the variable in and exit with a non-zero code.

http://cordova.apache.org/docs/en/3.6.0/plugin_ref_spec.md.html#Plugin%20Specification

        Summary: CLI: no validation for globally required plugin variables  (was: Plugman:
no validation for mandatory variables)

> CLI: no validation for globally required plugin variables
> ---------------------------------------------------------
>
>                 Key: CB-7698
>                 URL: https://issues.apache.org/jira/browse/CB-7698
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Bryan Higgins
>            Assignee: Bryan Higgins
>            Priority: Minor
>
> CLI should check that any globally required variables (preference at root level in plugin.xml)
have been provided before calling plugman.install on the platforms. Otherwise the plugin is
added to the project but plugman fails to install to any platforms.
> From the docs:
> plugman checks that these required preferences are passed in. If not, it should warn
the user how to pass the variable in and exit with a non-zero code.
> http://cordova.apache.org/docs/en/3.6.0/plugin_ref_spec.md.html#Plugin%20Specification



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

Mime
View raw message