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/15 22:51:45 UTC

[jira] Created: (TUSCANY-3034) Tuscany runs a component which uses a Composite Service with an invalid @promote attribute

Tuscany runs a component which uses a Composite Service with an invalid @promote attribute
------------------------------------------------------------------------------------------

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


Discovered when running OASIS SCA Assembly testcase ASM_6021_TestCase.

This testcase has a top level component which uses as its implementation a composite, where the composite <service/> element has a @promote attribute that contains a bogus value with the result that the service is unusable.  The SCA Assembly specification indicates that an SCA runtime should reject a composite which contains this error.

Currently, Tuscany issues a warning for the problem - ie the problem is detected but is treated as a low priority problem and the application is run with the result being a runtime exception when the top level component service is called.

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


[jira] Resolved: (TUSCANY-3034) Tuscany runs a component which uses a Composite Service with an invalid @promote attribute

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

Mike Edwards resolved TUSCANY-3034.
-----------------------------------

    Resolution: Fixed

Fix to CompositePromotionBuilderImpl committed in

775333

> Tuscany runs a component which uses a Composite Service with an invalid @promote attribute
> ------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3034
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3034
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Assembly Model
>    Affects Versions: Java-SCA-2.0
>            Reporter: Mike Edwards
>            Assignee: Mike Edwards
>             Fix For: Java-SCA-2.0
>
>
> Discovered when running OASIS SCA Assembly testcase ASM_6021_TestCase.
> This testcase has a top level component which uses as its implementation a composite, where the composite <service/> element has a @promote attribute that contains a bogus value with the result that the service is unusable.  The SCA Assembly specification indicates that an SCA runtime should reject a composite which contains this error.
> Currently, Tuscany issues a warning for the problem - ie the problem is detected but is treated as a low priority problem and the application is run with the result being a runtime exception when the top level component service is called.

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


[jira] Closed: (TUSCANY-3034) Tuscany runs a component which uses a Composite Service with an invalid @promote attribute

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

Mike Edwards closed TUSCANY-3034.
---------------------------------


Closing resolved issues

> Tuscany runs a component which uses a Composite Service with an invalid @promote attribute
> ------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3034
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3034
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Assembly Model
>    Affects Versions: Java-SCA-2.0
>            Reporter: Mike Edwards
>            Assignee: Mike Edwards
>             Fix For: Java-SCA-2.0
>
>
> Discovered when running OASIS SCA Assembly testcase ASM_6021_TestCase.
> This testcase has a top level component which uses as its implementation a composite, where the composite <service/> element has a @promote attribute that contains a bogus value with the result that the service is unusable.  The SCA Assembly specification indicates that an SCA runtime should reject a composite which contains this error.
> Currently, Tuscany issues a warning for the problem - ie the problem is detected but is treated as a low priority problem and the application is run with the result being a runtime exception when the top level component service is called.

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


[jira] Commented: (TUSCANY-3034) Tuscany runs a component which uses a Composite Service with an invalid @promote attribute

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

Mike Edwards commented on TUSCANY-3034:
---------------------------------------

The problem is detected in org.apache.tuscany.sca.assembly.builder.impl.CompositePromotionBuilderImpl and given the status of "warning".  If this status is raised to "error", then the application will not run.

> Tuscany runs a component which uses a Composite Service with an invalid @promote attribute
> ------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3034
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3034
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Assembly Model
>    Affects Versions: Java-SCA-2.0
>            Reporter: Mike Edwards
>            Assignee: Mike Edwards
>             Fix For: Java-SCA-2.0
>
>
> Discovered when running OASIS SCA Assembly testcase ASM_6021_TestCase.
> This testcase has a top level component which uses as its implementation a composite, where the composite <service/> element has a @promote attribute that contains a bogus value with the result that the service is unusable.  The SCA Assembly specification indicates that an SCA runtime should reject a composite which contains this error.
> Currently, Tuscany issues a warning for the problem - ie the problem is detected but is treated as a low priority problem and the application is run with the result being a runtime exception when the top level component service is called.

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