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

Steve Gill updated CB-6002:
---------------------------

    Assignee: Archana Naik

> create package validation doesn't match error report
> ----------------------------------------------------
>
>                 Key: CB-6002
>                 URL: https://issues.apache.org/jira/browse/CB-6002
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Amazon FireOS
>    Affects Versions: 3.3.0
>            Reporter: Josh Soref
>            Assignee: Archana Naik
>            Priority: Minor
>
> {quote}
> {{exports.createProject = function(project_path, package_name, project_name, 
> project_template_dir, use_shared_project, use_cli_template) \{}}
> ...
>     {{if 
> (\!/\[a-zA-Z0-9_]+\.\[a-zA-Z0-9_](.\[a-zA-Z0-9_])*/.test(package_name)) \{}}
>         {{return Q.reject('Package name must look like: com.company.Name');}}
>     {{\}}}
> ...
> {quote}
> The code is checking for {{com.company}} but the error message suggests 
> {{com.company.Name}} -- If you want to test for {{com.company.Name}} then the 
> *{{\*}}* should be a *{{+}}*.



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

Reply via email to