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

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

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

CB-6668: Use <description> for "plugin ls" when <name> is missing.

Plugin listing looks like the output below. The last column is now
plugin.name || plugin.description

$ cordova plugin ls
com.test.plugman 0.1.1 "plug_test"
org.apache.cordova.file 1.1.0 "File"
org.apache.cordova.statusbar 0.1.3 "StatusBar"


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

Reply via email to