cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8670) Error when set engine name to "cordova-windows" in plugin.xml
Date Mon, 16 Mar 2015 22:38:39 GMT

    [ https://issues.apache.org/jira/browse/CB-8670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14364111#comment-14364111
] 

ASF subversion and git services commented on CB-8670:
-----------------------------------------------------

Commit 41835f40f62b5682edbb505697f250ea836bab50 in cordova-lib's branch refs/heads/master
from [~TimBarham]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=41835f4 ]

CB-8670 Error when set engine name to "cordova-windows" in plugin.xml

If you create an engine element with name="cordova-windows" in plugin.xml, like this:

<engines>
    <engine name="cordova-windows" version=">=3.8.0" />
</engines>

You will get an error when you add the plugin:

TypeError: Cannot call method 'indexOf' of undefined
    at ...\cordova-lib\src\plugman\install.js:232:45

Github: close #185


> Error when set engine name to "cordova-windows" in plugin.xml
> -------------------------------------------------------------
>
>                 Key: CB-8670
>                 URL: https://issues.apache.org/jira/browse/CB-8670
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: Master
>            Reporter: Tim Barham
>            Assignee: Tim Barham
>   Original Estimate: 2m
>  Remaining Estimate: 2m
>
> If you create an engine element with name="cordova-windows" in plugin.xml, like this:
> {code:xml}
> <engines>
>     <engine name="cordova-windows" version=">=3.8.0" />
> </engines>
> {code}
> You will get an error when you add the plugin:
> {noformat}
> TypeError: Cannot call method 'indexOf' of undefined
>     at ...\cordova-lib\src\plugman\install.js:232:45
> {noformat}



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


Mime
View raw message