On Mon, Feb 20, 2012 at 7:03 PM, Greg Dritschler
<[email protected]> wrote:
> I believe the fix for TUSCANY-4005 is in error.  The goal of the fix was to
> comply with this requirement:
>
> The target component has multiple services. According to the following text
> in the assembly specification, the target component must have one and only
> one service with a compatible interface.
>
>  1844 If <service-name> is not present, the target component MUST have one
> and only
>  1845 one service with an interface that is a compatible superset of the
> wire source's
>  1845 interface and satisifies the policy requirements of the wire source,
> and the SCA
>  1846 runtime MUST use this service for the wire. [ASM60048]
>
> The fix checks if there are multiple candidate targets BEFORE DOING ANY
> FILTERING for interface compatibility or policy matching.  If the target
> does have one and only one service with a compatible interface and policy,
> you now get the error introduced by the fix.  This was not the intention.

My mistake, let me switch the test around.

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com

Reply via email to