You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Mike Edwards (JIRA)" <de...@tuscany.apache.org> on 2009/05/07 09:20:30 UTC

[jira] Created: (TUSCANY-3010) Promotion of References & Services with Callback interfaces fails

Promotion of References & Services with Callback interfaces fails
-----------------------------------------------------------------

                 Key: TUSCANY-3010
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3010
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Core Runtime
    Affects Versions: Java-SCA-2.0
            Reporter: Mike Edwards
            Assignee: Mike Edwards
             Fix For: Java-SCA-2.0


Where References and Services which have callback interfaces are placed into nested Composites and are then promoted and wired together, the runtime fails to handle them properly with the effect of the callback ending up with a null callback endpoint at runtime resulting in a runtime exception.

Discovered with the OASIS SCA Assembly testcases notably those in the "800x" range that are designed to check compliance with the OASIS spec section dealing with interfaces and callbacks - in particular ASM_8003_TestCase, ASM_8013_TestCase, ASM_8016_TestCase

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


[jira] Closed: (TUSCANY-3010) Promotion of References & Services with Callback interfaces fails

Posted by "Mike Edwards (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Edwards closed TUSCANY-3010.
---------------------------------


> Promotion of References & Services with Callback interfaces fails
> -----------------------------------------------------------------
>
>                 Key: TUSCANY-3010
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3010
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-2.0
>            Reporter: Mike Edwards
>            Assignee: Mike Edwards
>             Fix For: Java-SCA-2.0
>
>
> Where References and Services which have callback interfaces are placed into nested Composites and are then promoted and wired together, the runtime fails to handle them properly with the effect of the callback ending up with a null callback endpoint at runtime resulting in a runtime exception.
> Discovered with the OASIS SCA Assembly testcases notably those in the "800x" range that are designed to check compliance with the OASIS spec section dealing with interfaces and callbacks - in particular ASM_8003_TestCase, ASM_8013_TestCase, ASM_8016_TestCase

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


[jira] Resolved: (TUSCANY-3010) Promotion of References & Services with Callback interfaces fails

Posted by "Mike Edwards (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Edwards resolved TUSCANY-3010.
-----------------------------------

    Resolution: Fixed

> Promotion of References & Services with Callback interfaces fails
> -----------------------------------------------------------------
>
>                 Key: TUSCANY-3010
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3010
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-2.0
>            Reporter: Mike Edwards
>            Assignee: Mike Edwards
>             Fix For: Java-SCA-2.0
>
>
> Where References and Services which have callback interfaces are placed into nested Composites and are then promoted and wired together, the runtime fails to handle them properly with the effect of the callback ending up with a null callback endpoint at runtime resulting in a runtime exception.
> Discovered with the OASIS SCA Assembly testcases notably those in the "800x" range that are designed to check compliance with the OASIS spec section dealing with interfaces and callbacks - in particular ASM_8003_TestCase, ASM_8013_TestCase, ASM_8016_TestCase

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


[jira] Commented: (TUSCANY-3010) Promotion of References & Services with Callback interfaces fails

Posted by "Mike Edwards (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706747#action_12706747 ] 

Mike Edwards commented on TUSCANY-3010:
---------------------------------------

Fixed by adding specialised handling of promoted callbacks in:

org.apache.tuscany.sca.assembly.builder.impl.ComponentConfigurationBuilderImpl
org.apache.tuscany.sca.assembly.builder.impl.CompositePromotionBuilderImpl

Committed in 772530

> Promotion of References & Services with Callback interfaces fails
> -----------------------------------------------------------------
>
>                 Key: TUSCANY-3010
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3010
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-2.0
>            Reporter: Mike Edwards
>            Assignee: Mike Edwards
>             Fix For: Java-SCA-2.0
>
>
> Where References and Services which have callback interfaces are placed into nested Composites and are then promoted and wired together, the runtime fails to handle them properly with the effect of the callback ending up with a null callback endpoint at runtime resulting in a runtime exception.
> Discovered with the OASIS SCA Assembly testcases notably those in the "800x" range that are designed to check compliance with the OASIS spec section dealing with interfaces and callbacks - in particular ASM_8003_TestCase, ASM_8013_TestCase, ASM_8016_TestCase

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