incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pranav Saxena (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-550) UI] Getting "TypeError: items is undefined" error in UI when we click on Instances tab while no instances are launched yet
Date Tue, 27 Nov 2012 12:07:58 GMT

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

Pranav Saxena commented on CLOUDSTACK-550:
------------------------------------------

Commit ID -  http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/ed5bd846
                
> UI] Getting "TypeError: items is undefined" error in UI when we click on Instances tab
while no instances are launched yet
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-550
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-550
>             Project: CloudStack
>          Issue Type: Bug
>          Components: UI
>            Reporter: Pranav Saxena
>            Assignee: Pranav Saxena
>             Fix For: 4.0.1
>
>
> Env:
> MS - RHEL 6.2
> Steps:
> Set up zone, cluster, hosts, stroage.. Let system VMs launch.
> Before launching any instances, click on instances tab
> Result:
> TypeError: items is undefined error
> Firebug log:
> TypeError: items is undefined
> success(json=Object { listvirtualmachinesresponse={...}})instan...0897247 (line 203)
> resolveWith(context=Object { url=
> "/client/api?command=lis...size=20&_=1354012487622", isLocal=false, global=true,
more...}, args=[Object { listvirtualmachinesresponse={...}}, "success", Object { readyState=4,
responseText="{ "listvirtualmachinesresponse" : { } }", status=200, more...}])jquery.js (line
995)
> done(status=200, statusText="success", responses=Object { text="{ "listvirtualmachinesresponse"
: { } }"}, headers="Server: Apache-Coyote/1... Nov 2012 10:10:58 GMT\n")jquery.js (line 7128)
> callback(_=readystatechange , isAbort=undefined)jquery.js (line 7907)
> [Break On This Error]
> for( i=0;i< items.length;i++){instan...0897247 (line 203)
> Expected result:
> Should display empty table (with 'No data to show' message) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message