You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Ramkumar Ramalingam (JIRA)" <de...@tuscany.apache.org> on 2008/08/11 08:59:44 UTC
[jira] Assigned: (TUSCANY-2455) Exception not thrown on duplicate
component names within a composite
[ https://issues.apache.org/jira/browse/TUSCANY-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramkumar Ramalingam reassigned TUSCANY-2455:
--------------------------------------------
Assignee: Ramkumar Ramalingam
> 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
> Assignee: Ramkumar Ramalingam
> Fix For: Java-SCA-Next
>
>
> 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.