You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Brian Murray (JIRA)" <tu...@ws.apache.org> on 2007/04/05 21:57:32 UTC

[jira] Updated: (TUSCANY-826) Containment cycle should result in Exception

     [ https://issues.apache.org/jira/browse/TUSCANY-826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Murray updated TUSCANY-826:
---------------------------------

    Attachment: Updated826.zip

Attaching Updated826.zip.

The ZIP file includes a few deltas to the statically generated classes and to the test case:

*  statically generated classes are different due to a subsequent fix that went into XSD2JavaGenerator.
*  test case updates eliminate a few remaining instances where xxxHelper.INSTANCE had been used instead of HelperContext

> Containment cycle should result in Exception
> --------------------------------------------
>
>                 Key: TUSCANY-826
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-826
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>         Environment: Windows XP, both Sun and IBM JVMs
>            Reporter: Brian Murray
>             Fix For: Java-SDO-Mx
>
>         Attachments: 826.patch, 826.zip, ContainmentCycle.patch, ContainmentCycleError.java, ContainmentTest.zip, Updated826.zip
>
>
> Near the bottom of page 19 in the 2.0.1 specification it is stated that "Containment cannot have cycles.  If a set or add would create a containment cycle an exception is thrown."
> However, I have found that no such exception is thrown.  I will attach a test case showing the creation of (and the potential to infinitely loop through) a containment cycle.

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org