sorry I made a mistake...
The list is correctly injected but is empty !
At runTime targets fiels (List) is empty but not null.
I don't understand what I need to do to fill it in...
for links, i'm not yet sure on how we best will model them.
i don't think it's going to be possible to add the links to the executables themselves. because links will reference other nodes and the executables only can have a self contained object graph. (unless we start to tweak the wiring)
we could think adding the links to the BpelProcess structure. or we could leverage the transitions as links.
maybe we should discuss this during next week's meeting.
so you think it is normal to have an empty list ?
that is something else. code seems good at a first glimpse. would require debug session to track down the real problem.
if that is a problem, please point me to a failing test that i can look at.
Done. There is a new test (failing) in CollectionTests (wire package).
This test is easier than my current case but I think it could be the same kind of problem...
Both have problems with two levels injection...
In the new commited test, the list injection is good. Then we can find Target object but the linkName field was not injected (you can add traces as the first statement on the eauqals metohd of Target).
In my case, i want to inject a list in an activity : good, but I can not find targets object in it... There is one level difference between the unit test and my problem but in my case, the activty is injected in another object... so maybe this is the same kind of problem.
Please let me know !
I just added a third test which does exactly the same as my activity/links problem...
Waiting for your ideas/suggestions...