You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Ramkumar Ramalingam (JIRA)" <tu...@ws.apache.org> on 2008/06/10 17:10:45 UTC

[jira] Assigned: (TUSCANY-2379) CompositeProcessor.java is calling promotedService.getService() instead of promotedService.getName() when writing out a composite file.

     [ https://issues.apache.org/jira/browse/TUSCANY-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramkumar Ramalingam reassigned TUSCANY-2379:
--------------------------------------------

    Assignee: Ramkumar Ramalingam

> CompositeProcessor.java is calling promotedService.getService() instead of promotedService.getName() when writing out a composite file.
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2379
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2379
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Assembly Model
>    Affects Versions: Java-SCA-1.2
>            Reporter: Richard Mah
>            Assignee: Ramkumar Ramalingam
>
> CompositeProcessor.java is calling promotedService.getService() instead of promotedService.getName() when writing out the promoted service to file.
> Here is the snippet of code starting from line 546 (Revision 665831):
>             String promote;
>             if (promotedService != null) {
>                 if (promotedService.getName() != null) {
>                     promote = promotedComponent.getName() + '/' + promotedService.getService();                    -Here is the promotedService.getService() call
>                 } else {
>                     promote = promotedComponent.getName();
>                 }
>           ............
> promotedService.getService() looks like it should be promotedService.getName() instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.