You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <de...@tuscany.apache.org> on 2008/09/16 18:20:44 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=12631452#action_12631452 ] 

Simon Laws commented on TUSCANY-2455:
-------------------------------------

I just re-enabled the vtest for this at  revision: 695963  


> 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: ant elder
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2455.patch
>
>
> 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.