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

Ramkumar Ramalingam updated TUSCANY-2379:
-----------------------------------------

    Patch Info: [Patch Available]

> 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
>         Attachments: TUSCANY-2379.patch
>
>
> 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.

Reply via email to