You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Pranav Saxena (JIRA)" <ji...@apache.org> on 2012/11/27 12:59:58 UTC

[jira] [Created] (CLOUDSTACK-550) UI] Getting "TypeError: items is undefined" error in UI when we click on Instances tab while no instances are launched yet

Pranav Saxena created CLOUDSTACK-550:
----------------------------------------

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

[jira] [Assigned] (CLOUDSTACK-550) UI] Getting "TypeError: items is undefined" error in UI when we click on Instances tab while no instances are launched yet

Posted by "Pranav Saxena (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pranav Saxena reassigned CLOUDSTACK-550:
----------------------------------------

    Assignee: Pranav Saxena
    
> 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

[jira] [Resolved] (CLOUDSTACK-550) UI] Getting "TypeError: items is undefined" error in UI when we click on Instances tab while no instances are launched yet

Posted by "Pranav Saxena (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pranav Saxena resolved CLOUDSTACK-550.
--------------------------------------

    Resolution: Fixed
    
> 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

[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

Posted by "Pranav Saxena (JIRA)" <ji...@apache.org>.
    [ 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