You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <de...@tuscany.apache.org> on 2010/11/25 14:51:27 UTC

[jira] Closed: (TUSCANY-2758) Components with References with too many wires run when they should be reported as an Error

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

ant elder closed TUSCANY-2758.
------------------------------

    Resolution: Fixed

The assembly conformance tests pass now so this must be fixed

> Components with References with too many wires run when they should be reported as an Error
> -------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2758
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2758
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Assembly Model
>    Affects Versions: Java-SCA-2.0-M1
>         Environment: Tested against Tuscany 2.0 (believe that it is also present in the 1.x codebase)
>            Reporter: Mike Edwards
>
> If a Component with a Reference that is of multiplicity 1..1 or 0..1 has the reference wired to 2 or more target services, this is only reported as a warning by Tuscany - the component is still run and one of the wires is chosen to configure the reference.  This should not happen.  A configuration error of this kind should result in Tuscany refusing to run the component.
> Testcase to reproduce the problem:
> stest/sampleTest - ASM_0004_TestCase

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