You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Kevin Williams (JIRA)" <de...@tuscany.apache.org> on 2008/07/03 17:30:46 UTC

[jira] Created: (TUSCANY-2455) Exception not thrown on duplicate component names within a composite

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.


[jira] Updated: (TUSCANY-2455) Exception not thrown on duplicate component names within a composite

Posted by "Ramkumar Ramalingam (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramkumar Ramalingam updated TUSCANY-2455:
-----------------------------------------

    Attachment: TUSCANY-2455.patch

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


[jira] Closed: (TUSCANY-2455) Exception not thrown on duplicate component names within a composite

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder closed TUSCANY-2455.
------------------------------

    Resolution: Fixed

patch applied in r685893 and r685895, thanks for the fix Ramkumar

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


[jira] Assigned: (TUSCANY-2455) Exception not thrown on duplicate component names within a composite

Posted by "Ramkumar Ramalingam (JIRA)" <de...@tuscany.apache.org>.
     [ 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.


[jira] Commented: (TUSCANY-2455) Exception not thrown on duplicate component names within a composite

Posted by "Simon Laws (JIRA)" <de...@tuscany.apache.org>.
    [ 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.


[jira] Updated: (TUSCANY-2455) Exception not thrown on duplicate component names within a composite

Posted by "Ramkumar Ramalingam (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramkumar Ramalingam updated TUSCANY-2455:
-----------------------------------------

    Patch Info: [Patch Available]

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


[jira] Assigned: (TUSCANY-2455) Exception not thrown on duplicate component names within a composite

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder reassigned TUSCANY-2455:
----------------------------------

    Assignee: ant elder  (was: 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: 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.