[
https://issues.apache.org/jira/browse/TUSCANY-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Frank Budinsky resolved TUSCANY-1190.
-------------------------------------
Resolution: Fixed
Fixed in revision 521017.
I found 7 places in the generator template that was using the wrong property
index (i.e., not the INTERNAL one). This should also fix some of the other
"mixed" related issues that have been noticed.
> IAE in static case when using DataObject.setList() to assign multiple Objects
> to a many-valued Property.
> --------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-1190
> URL: https://issues.apache.org/jira/browse/TUSCANY-1190
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Implementation
> Reporter: Brian Murray
> Attachments: StaticMultiplicity.zip
>
>
> Assigning multiple values to a multi-valued List (at least in the specific
> case demonstrated in the test case) results in an IllegalArgumentException
> with the message "The multiplicity constraint is violated" in the static
> case. As can bee seen in the test case,
> the Dynamically defined types (using TypeHelper or XSDHelper) do not show
> this behavior. The same XSD was used in creating the static case as was used
> with the XSDHelper for one of the dynamic cases.
> Note that this same XSD and statically generated files will be used with the
> ContainmentCycleTestCase (Tuscany-826).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]