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/16 16:16:45 UTC

[jira] Created: (TUSCANY-3036) Tuscany runs a component where a Component Service has an interface that is incompatible with the interface on the implementation service

Tuscany runs a component where a Component Service has an interface that is incompatible with the interface on the implementation service
-----------------------------------------------------------------------------------------------------------------------------------------

                 Key: TUSCANY-3036
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3036
             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


Running OASIS SCA Assembly testcase ASM_12008_TestCase, this has a component with a <service/> <interface/> that is incompatible with the <interface/> on the matching <service/> of the <implementation/> of the component.

This should cause the SCA runtime to raise an error and reject the composite containing the component in error.

However, Tuscany runs the composite and the component, which then fails when a client attempts to invoke an operation on the service offered by the component.

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


[jira] Resolved: (TUSCANY-3036) Tuscany runs a component where a Component Service has an interface that is incompatible with the interface on the implementation service

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

Mike Edwards resolved TUSCANY-3036.
-----------------------------------

    Resolution: Fixed

Resolved by upgrading from "warning" to "error" when this condition is recognised in org.apache.tuscany.sca.assembly.builder.impl.BaaseBuilderImpl, committed in:

775469

> Tuscany runs a component where a Component Service has an interface that is incompatible with the interface on the implementation service
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3036
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3036
>             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
>
>
> Running OASIS SCA Assembly testcase ASM_12008_TestCase, this has a component with a <service/> <interface/> that is incompatible with the <interface/> on the matching <service/> of the <implementation/> of the component.
> This should cause the SCA runtime to raise an error and reject the composite containing the component in error.
> However, Tuscany runs the composite and the component, which then fails when a client attempts to invoke an operation on the service offered by the component.

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


[jira] Closed: (TUSCANY-3036) Tuscany runs a component where a Component Service has an interface that is incompatible with the interface on the implementation service

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

Mike Edwards closed TUSCANY-3036.
---------------------------------


Closing resolved issues

> Tuscany runs a component where a Component Service has an interface that is incompatible with the interface on the implementation service
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3036
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3036
>             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
>
>
> Running OASIS SCA Assembly testcase ASM_12008_TestCase, this has a component with a <service/> <interface/> that is incompatible with the <interface/> on the matching <service/> of the <implementation/> of the component.
> This should cause the SCA runtime to raise an error and reject the composite containing the component in error.
> However, Tuscany runs the composite and the component, which then fails when a client attempts to invoke an operation on the service offered by the component.

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


[jira] Commented: (TUSCANY-3036) Tuscany runs a component where a Component Service has an interface that is incompatible with the interface on the implementation service

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

Mike Edwards commented on TUSCANY-3036:
---------------------------------------

The following message is generated by Tuscany:

16-May-2009 15:10:37 org.apache.tuscany.sca.assembly.builder.impl.ComponentConfigurationBuilderImpl
WARNING: Component service interface incompatible with service interface: Component = TEST_ASM_12008TestComponent1 Service = Service1

...which indicates that the problem is recognised but is only rated a "WARNING" rather than an "ERROR".

It should be rated as an "ERROR" and this will prevent execution of the application.

> Tuscany runs a component where a Component Service has an interface that is incompatible with the interface on the implementation service
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3036
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3036
>             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
>
>
> Running OASIS SCA Assembly testcase ASM_12008_TestCase, this has a component with a <service/> <interface/> that is incompatible with the <interface/> on the matching <service/> of the <implementation/> of the component.
> This should cause the SCA runtime to raise an error and reject the composite containing the component in error.
> However, Tuscany runs the composite and the component, which then fails when a client attempts to invoke an operation on the service offered by the component.

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