Sangeetha Hariharan created CLOUDSTACK-3597:
-----------------------------------------------
Summary: Not able to list users.
Key: CLOUDSTACK-3597
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3597
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: UI
Affects Versions: 4.2.0
Environment: Build from 4.2
Reporter: Sangeetha Hariharan
Priority: Critical
Fix For: 4.2.0
>From Accounts tab -> select any account, use "View Users" to list all the
>users.
User is presented with a blank screen.
Following java script error seen:
TypeError: args.context.accounts is undefined
[Break On This Error]
var accountObj = args.context.accounts[0];
Following API calls were made:
2013-07-17 10:37:33,529 INFO [cloud.api.ApiServer] (catalina-exec-22:null)
(userId=2 accountId=2 sessionId=5A793B6795313CAD763AB184F6706838) 10.216.50.187
-- GET
command=listAccounts&response=json&sessionkey=6g2v5kFBEdSTuezpe%2FIiBwgYi20%3D&id=b7807844-f4b5-4b50-953c-540f0c835c74&_=1374082656450
200 { "listaccountsresponse" : { "count":1 ,"account" : [
{"id":"b7807844-f4b5-4b50-953c-540f0c835c74","name":"sangee","accounttype":0,"domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","vmlimit":"200","vmtotal":0,"vmavailable":"200","iplimit":"200","iptotal":0,"ipavailable":"47","volumelimit":"200","volumetotal":0,"volumeavailable":"200","snapshotlimit":"200","snapshottotal":0,"snapshotavailable":"200","templatelimit":"200","templatetotal":0,"templateavailable":"200","projectlimit":"Unlimited","projecttotal":0,"projectavailable":"Unlimited","networklimit":"200","networktotal":0,"networkavailable":"200","cpulimit":"400","cputotal":0,"cpuavailable":"400","memorylimit":"40960","memorytotal":0,"memoryavailable":"40960","primarystoragelimit":"2000","primarystoragetotal":0,"primarystorageavailable":"2000","secondarystoragelimit":"400","secondarystoragetotal":0,"secondarystorageavailable":"400","state":"enabled","user":[{"id":"ed67f9a9-3d4f-4531-9e9b-8b4c645fc21d","username":"sangee","firstname":"sangee","lastname":"sangee","email":"[email protected]","created":"2013-07-17T10:28:01-0700","state":"enabled","account":"sangee","accounttype":0,"domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","timezone":"America/Los_Angeles","accountid":"b7807844-f4b5-4b50-953c-540f0c835c74","iscallerchilddomain":false,"isdefault":false}],"networkdomain":"sangee","isdefault":false}
] } }
2013-07-17 10:37:33,772 INFO [cloud.api.ApiServer] (catalina-exec-1:null)
(userId=2 accountId=2 sessionId=5A793B6795313CAD763AB184F6706838) 10.216.50.187
-- GET
command=listResourceLimits&response=json&sessionkey=6g2v5kFBEdSTuezpe%2FIiBwgYi20%3D&domainid=b6c92618-eeff-11e2-830a-068c76000429&account=sangee&_=1374082656700
200 { "listresourcelimitsresponse" : { "count":12 ,"resourcelimit" : [
{"account":"sangee","domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","resourcetype":"0","max":200},
{"account":"sangee","domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","resourcetype":"1","max":200},
{"account":"sangee","domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","resourcetype":"2","max":200},
{"account":"sangee","domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","resourcetype":"3","max":200},
{"account":"sangee","domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","resourcetype":"4","max":200},
{"account":"sangee","domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","resourcetype":"7","max":200},
{"account":"sangee","domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","resourcetype":"8","max":400},
{"account":"sangee","domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","resourcetype":"9","max":40960},
{"account":"sangee","domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","resourcetype":"10","max":2000},
{"account":"sangee","domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","resourcetype":"11","max":400},
{"account":"sangee","domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","resourcetype":"5","max":-1},
{"account":"sangee","domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","resourcetype":"6","max":20}
] } }
--
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