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

        

Reply via email to