[
https://issues.apache.org/jira/browse/TUSCANY-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Laws resolved TUSCANY-2360.
---------------------------------
Resolution: Fixed
Changes committed at r665992. Changed wire build so that autowire doesn't wire
to self and so that composite references override promoted references.
> Autowiring in nested composites doesn't work in all cases
> ---------------------------------------------------------
>
> Key: TUSCANY-2360
> URL: https://issues.apache.org/jira/browse/TUSCANY-2360
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-1.2
> Environment: WinXP SP2, IBM JDK 5
> Reporter: Simon Laws
> Assignee: Simon Laws
> Fix For: Java-SCA-Next
>
> Attachments: MultiLevelRecusion.zip
>
>
> I had expect that autowire operated within the context of a composite even
> when that composite is used as part of recursive composition. I've been
> playing with a simple test (attached) that has up to 3 levels of composite
> and in each level two component are autowired together. It seems that it's
> not always the case that the autowiring works as I had expected. Sometimes a
> component is autowired to a component at another level. I haven't determined
> a pattern in this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.