Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7CEA510928 for ; Wed, 17 Jul 2013 17:41:54 +0000 (UTC) Received: (qmail 57474 invoked by uid 500); 17 Jul 2013 17:41:51 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 57281 invoked by uid 500); 17 Jul 2013 17:41:49 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 57038 invoked by uid 500); 17 Jul 2013 17:41:49 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 57004 invoked by uid 99); 17 Jul 2013 17:41:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jul 2013 17:41:48 +0000 Date: Wed, 17 Jul 2013 17:41:48 +0000 (UTC) From: "Sangeetha Hariharan (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-3597) Not able to list users. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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 defa= ult.) 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 u= sers. User is presented with a blank screen. Following java script error seen: =20 TypeError: args.context.accounts is undefined [Break On This Error] =09 var accountObj =3D 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=3D2 accountId=3D2 sessionId=3D5A793B6795313CAD763AB184F6706838) 10= .216.50.187 -- GET command=3DlistAccounts&response=3Djson&sessionkey=3D6g2v= 5kFBEdSTuezpe%2FIiBwgYi20%3D&id=3Db7807844-f4b5-4b50-953c-540f0c835c74&_=3D= 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,"ipavail= able":"47","volumelimit":"200","volumetotal":0,"volumeavailable":"200","sna= pshotlimit":"200","snapshottotal":0,"snapshotavailable":"200","templatelimi= t":"200","templatetotal":0,"templateavailable":"200","projectlimit":"Unlimi= ted","projecttotal":0,"projectavailable":"Unlimited","networklimit":"200","= networktotal":0,"networkavailable":"200","cpulimit":"400","cputotal":0,"cpu= available":"400","memorylimit":"40960","memorytotal":0,"memoryavailable":"4= 0960","primarystoragelimit":"2000","primarystoragetotal":0,"primarystoragea= vailable":"2000","secondarystoragelimit":"400","secondarystoragetotal":0,"s= econdarystorageavailable":"400","state":"enabled","user":[{"id":"ed67f9a9-3= d4f-4531-9e9b-8b4c645fc21d","username":"sangee","firstname":"sangee","lastn= ame":"sangee","email":"sangee@abc.con","created":"2013-07-17T10:28:01-0700"= ,"state":"enabled","account":"sangee","accounttype":0,"domainid":"b6c92618-= eeff-11e2-830a-068c76000429","domain":"ROOT","timezone":"America/Los_Angele= s","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=3D2 accountId=3D2 sessionId=3D5A793B6795313CAD763AB184F6706838) 10.= 216.50.187 -- GET command=3DlistResourceLimits&response=3Djson&sessionkey= =3D6g2v5kFBEdSTuezpe%2FIiBwgYi20%3D&domainid=3Db6c92618-eeff-11e2-830a-068c= 76000429&account=3Dsangee&_=3D1374082656700 200 { "listresourcelimitsrespon= se" : { "count":12 ,"resourcelimit" : [ {"account":"sangee","domainid":"b6= c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","resourcetype":"0","max= ":200}, {"account":"sangee","domainid":"b6c92618-eeff-11e2-830a-068c7600042= 9","domain":"ROOT","resourcetype":"1","max":200}, {"account":"sangee","doma= inid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","resourcetype"= :"2","max":200}, {"account":"sangee","domainid":"b6c92618-eeff-11e2-830a-06= 8c76000429","domain":"ROOT","resourcetype":"3","max":200}, {"account":"sang= ee","domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","reso= urcetype":"4","max":200}, {"account":"sangee","domainid":"b6c92618-eeff-11e= 2-830a-068c76000429","domain":"ROOT","resourcetype":"7","max":200}, {"accou= nt":"sangee","domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"RO= OT","resourcetype":"8","max":400}, {"account":"sangee","domainid":"b6c92618= -eeff-11e2-830a-068c76000429","domain":"ROOT","resourcetype":"9","max":4096= 0}, {"account":"sangee","domainid":"b6c92618-eeff-11e2-830a-068c76000429","= domain":"ROOT","resourcetype":"10","max":2000}, {"account":"sangee","domain= id":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","resourcetype":"= 11","max":400}, {"account":"sangee","domainid":"b6c92618-eeff-11e2-830a-068= c76000429","domain":"ROOT","resourcetype":"5","max":-1}, {"account":"sangee= ","domainid":"b6c92618-eeff-11e2-830a-068c76000429","domain":"ROOT","resour= cetype":"6","max":20} ] } } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira