cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Soref (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6668) plugins don't have to have a text property - plugin list crashes if it's missing
Date Sat, 10 May 2014 21:58:14 GMT

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

Josh Soref commented on CB-6668:
--------------------------------

[~shazron] notes that this field is purely informational, perh http://cordova.apache.org/docs/en/edge/plugin_ref_spec.md
So it really should not have been treated as mandatory (crashing).

> plugins don't have to have a text property - plugin list crashes if it's missing
> --------------------------------------------------------------------------------
>
>                 Key: CB-6668
>                 URL: https://issues.apache.org/jira/browse/CB-6668
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 3.5.0
>            Reporter: Josh Soref
>            Assignee: Josh Soref
>            Priority: Blocker
>
> steps:
> 1. install com.blackberry.utils into a project (use an old cordova ....)
> 2. cordova plugin list
> actual results:
> TypeError: Cannot read property 'text' of null
>     at new PluginInfo (cordova-lib/src/PluginInfo.js:54:32)
>     at cordova-lib/src/PluginInfo.js:78:17
>     at Array.forEach (native)



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

Mime
View raw message