Exception not thrown on duplicate component names within a composite
--------------------------------------------------------------------
Key: TUSCANY-2455
URL: https://issues.apache.org/jira/browse/TUSCANY-2455
Project: Tuscany
Issue Type: Bug
Components: Java SCA Core Runtime
Affects Versions: Java-SCA-Next
Reporter: Kevin Williams
The Assembly Model specification states (regarding Components):
142 • name (required) - the name of the component. The name must be unique
across all the
143 components in the composite.
I assume that since the specification says names *must* be unique in a
composite then a composite with duplicate names should not be run and an
exception should be thrown on detection of this condition. Although the
runtime detects the condition and issues a warning, no exception is thrown.
The vtest
org.apache.tuscany.sca.vtest.assembly.component.ComponentTestCase.components3()
illustrates this problem. It is currently @Ignore(d)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.