Return-Path: Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: (qmail 52053 invoked from network); 14 Sep 2009 11:39:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Sep 2009 11:39:02 -0000 Received: (qmail 45018 invoked by uid 500); 14 Sep 2009 11:39:02 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 44964 invoked by uid 500); 14 Sep 2009 11:39:02 -0000 Mailing-List: contact issues-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list issues@continuum.apache.org Received: (qmail 44954 invoked by uid 99); 14 Sep 2009 11:39:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2009 11:39:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2009 11:38:53 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 3A9AA19E0113 for ; Mon, 14 Sep 2009 06:38:32 -0500 (CDT) Message-ID: <11577000.62711252928312126.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Mon, 14 Sep 2009 06:38:32 -0500 (CDT) From: "Bernhard Trummer (JIRA)" To: issues@continuum.apache.org Subject: [jira] Commented: (CONTINUUM-2146) Local repository not set in project group when adding via the XMLRPC interface In-Reply-To: <6306405.1237840932886.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/CONTINUUM-2146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=190855#action_190855 ] Bernhard Trummer commented on CONTINUUM-2146: --------------------------------------------- Sorry, I don't have the full code anymore. But it just was a proper new ContinuumXmlRpcClient() together with the code snippet of this bug's description. Put a static void main() around and it should be runnable. :-) > Local repository not set in project group when adding via the XMLRPC interface > ------------------------------------------------------------------------------ > > Key: CONTINUUM-2146 > URL: http://jira.codehaus.org/browse/CONTINUUM-2146 > Project: Continuum > Issue Type: Bug > Components: XMLRPC Interface > Affects Versions: 1.2.3 > Environment: Linux, Sun Java SDK 1.5.0_16 > Reporter: Bernhard Trummer > Priority: Minor > Fix For: 1.x > > Attachments: project-groups.png > > > I created a project group via the web interface and another one via the XMLRPC interface with the following code snippet: > {code} > LocalRepository repository = client.getLocalRepository(1); // = DEFAULT > ProjectGroupSummary summary = new ProjectGroupSummary(); > summary.setName("created-via-api"); > summary.setGroupId("group.created.api"); > summary.setLocalRepository(repository); > client.addProjectGroup(summary); > {code} > The difference is that the API-created one doesn't get the local repository set as shown in the attached screenshot. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira