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 91EE8F1B8 for ; Tue, 2 Apr 2013 18:49:15 +0000 (UTC) Received: (qmail 20834 invoked by uid 500); 2 Apr 2013 18:49:15 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 20815 invoked by uid 500); 2 Apr 2013 18:49:15 -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 20807 invoked by uid 500); 2 Apr 2013 18:49:15 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 20804 invoked by uid 99); 2 Apr 2013 18:49:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Apr 2013 18:49:15 +0000 Date: Tue, 2 Apr 2013 18:49:15 +0000 (UTC) From: "Min Chen (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-1890) listProjects is not listing state in the response MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-1890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620122#comment-13620122 ] Min Chen commented on CLOUDSTACK-1890: -------------------------------------- Fixed by patch https://reviews.apache.org/r/10240/, pending Chip's review. The affected version should also include 4.1.0, updated the bug to reflect that. > listProjects is not listing state in the response > ------------------------------------------------- > > Key: CLOUDSTACK-1890 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1890 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: API, UI > Affects Versions: 4.1.0, 4.2.0 > Reporter: Sailaja Mada > Assignee: Min Chen > Fix For: 4.1.0, 4.2.0 > > Attachments: projview.png > > > Setup: Advanced Networking Zone with Xen 6.1 [4.2] > Steps: > 1. Create projects as admin & Child domain account > 2. Tried to list all the projects. > Observation: > 1) listProjects is not listing state in the response > 2) State of the project from UI displayed as blank [Attached the sanp] > 2013-04-02 16:52:59,411 INFO [cloud.api.ApiServer] (catalina-exec-12:null) (userId=2 accountId=2 sessionId=45961497FF93B9D86F004FAA07E5C581) 10.144.6.39 -- GET command=listProjects&response=json&sessionkey=NsDF%2BPjcst3nXPqQdjyvGduXlOs%3D&listAll=true&page=1&pagesize=20&_=1364901881168 200 { "listprojectsresponse" : { "count":2 ,"project" : [ {"id":"ba89a1e1-39e3-4507-a4d5-7f4cbb53c932","name":"proj1","displaytext":"","domainid":"e8377899-c351-47a2-aed5-92c624eebae5","domain":"cdc1","account":"cdc1admin1","tags":[]}, {"id":"532eaa39-2daf-41ee-ad37-b168f0a34916","name":"proj1","displaytext":"proj1","domainid":"c579ec3a-9a89-11e2-8880-ca27ffbee488","domain":"ROOT","account":"admin","tags":[]} ] } } > http://10.102.192.208:8096/client/api?command=listProjects&listAll=true > > 2 > ba89a1e1-39e3-4507-a4d5-7f4cbb53c932 > proj1 > e8377899-c351-47a2-aed5-92c624eebae5 > cdc1cdc1admin1 > 532eaa39-2daf-41ee-ad37-b168f0a34916 > proj1 > proj1 > c579ec3a-9a89-11e2-8880-ca27ffbee488 > ROOT< > account>admin > -- 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