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
         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.

Reply via email to