You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Mike Edwards (JIRA)" <de...@tuscany.apache.org> on 2009/05/13 20:29:45 UTC

[jira] Resolved: (TUSCANY-3022) uniqueness constraint for name of service within component type not enforced

     [ https://issues.apache.org/jira/browse/TUSCANY-3022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Edwards resolved TUSCANY-3022.
-----------------------------------

    Resolution: Fixed

Resolved by altering the class org.apache.tuscany.sca.assembly.builder.impl.BaseBuilderImpl to change from "warning" to "error" for all cases of duplicate detection (services, references, properties) for both components and for implementations (i.e. componentType).

Committed in 

774475

> uniqueness constraint for name of service within component type not enforced
> ----------------------------------------------------------------------------
>
>                 Key: TUSCANY-3022
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3022
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA spec compliance
>    Affects Versions: Java-SCA-2.0
>            Reporter: Kelvin Goodson
>            Assignee: Mike Edwards
>
> OASIS SCA spec 1.1 conformance statement ASM40003 is shown to be violated in ASM_4002_TestCase.
> File src/main/resources/General/Test_ASM_4002.composite violates the constraint that the @name attribute value of a <service/> element of a <componentType/> 
>  is not the same as the @name attribute value of any other <service/> of the <componentType/>
> but we report ...
> org.junit.ComparisonFailure: expected:<[exception]> but was:<[ASM_4002 request service1 operation1 invoked]>
> 	at org.junit.Assert.assertEquals(Assert.java:123)
> 	at org.junit.Assert.assertEquals(Assert.java:145)
> 	at client.BaseJAXWSTestCase.testDummy(BaseJAXWSTestCase.java:148)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.