It should throw a runtime exception when component property name duplicated
---------------------------------------------------------------------------

                 Key: TUSCANY-2863
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2863
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Assembly Model
    Affects Versions: Java-SCA-1.1
            Reporter: Ku Jun Guo


I'm writing the vtest code for SCA 1.x code base.

If I define two property for a component, which have the same name,
then what's the expected result?

<property name="strProperty">value1</property>
<property name="strProperty">value2</property>

the runtime value should be value1, value2, Null, or an exception?
In my test, it's value2, but with a warning: WARNING: Duplicate
component property name: Component = AComponent Property =
strProperty.
Isn't it a bug of Tuscany?  I assumed it should throw an exception.

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

Reply via email to