You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Bernhard Trummer (JIRA)" <ji...@codehaus.org> on 2009/03/23 21:42:12 UTC

[jira] Created: (CONTINUUM-2146) Local repository not set in project group when adding via the XMLRPC interface

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

        

[jira] Commented: (CONTINUUM-2146) Local repository not set in project group when adding via the XMLRPC interface

Posted by "Bernhard Trummer (JIRA)" <ji...@codehaus.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

        

[jira] Updated: (CONTINUUM-2146) Local repository not set in project group when adding via the XMLRPC interface

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-2146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wendy Smoak updated CONTINUUM-2146:
-----------------------------------

    Fix Version/s: 1.x

Can you provide a complete example program to demonstrate the problem?

> 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