Context lost when reporting errors in contributions
---------------------------------------------------
Key: TUSCANY-3374
URL: https://issues.apache.org/jira/browse/TUSCANY-3374
Project: Tuscany
Issue Type: Bug
Components: Java SCA Problem Determination
Affects Versions: Java-SCA-2.0-M3
Reporter: Kelvin Goodson
Fix For: Java-SCA-Next
e.g. test ASM_4003 reports .....
java.lang.IllegalStateException: org.oasisopen.sca.ServiceRuntimeException:
[Composite: {http://docs.oasis-open.org/ns/opencsa/sca/200903},
Component: TestComponent1] - Duplicate reference name: Component =
TestComponent1 Reference = Reference1
---
and the offending composite is reported without a name. This is because nested
composites are flattened into the domain level composite (which has no name)
before the error is detected, and the context related to nesting of components
is not preserved, so can not be reported.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.