You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org> on 2007/03/12 16:24:09 UTC
[jira] Created: (TUSCANY-1164) Container of root object is non-null
after endLogging()
Container of root object is non-null after endLogging()
-------------------------------------------------------
Key: TUSCANY-1164
URL: https://issues.apache.org/jira/browse/TUSCANY-1164
Project: Tuscany
Issue Type: Bug
Components: Java SDO Implementation
Affects Versions: Java-SDO-M3
Reporter: Kelvin Goodson
When change logging is turned off on a root data object which has a ChangeSummary property, the DataObject becomes contained by the ChangeSummaryImpl (test case to be appended)
I believe that the issue is associated with the assumptions behind the EMF code at line 272 of ChangeRecorder.java (EMF 2.2.2) in the consolidateChanges() method
if (eObject.eContainer() == null && eObject.eResource() == null)
{
if (originalTargetObjects.contains(eObject))
{
orphanedObjects.add(eObject);
--
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
[jira] Updated: (TUSCANY-1164) Container of root object is non-null
after endLogging()
Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kelvin Goodson updated TUSCANY-1164:
------------------------------------
Fix Version/s: Java-SDO-M3
> Container of root object is non-null after endLogging()
> -------------------------------------------------------
>
> Key: TUSCANY-1164
> URL: https://issues.apache.org/jira/browse/TUSCANY-1164
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Implementation
> Affects Versions: Java-SDO-M3
> Reporter: Kelvin Goodson
> Fix For: Java-SDO-M3
>
> Attachments: RootContainedByChSumTestCase.java
>
>
> When change logging is turned off on a root data object which has a ChangeSummary property, the DataObject becomes contained by the ChangeSummaryImpl (test case to be appended)
> I believe that the issue is associated with the assumptions behind the EMF code at line 272 of ChangeRecorder.java (EMF 2.2.2) in the consolidateChanges() method
> if (eObject.eContainer() == null && eObject.eResource() == null)
> {
> if (originalTargetObjects.contains(eObject))
> {
> orphanedObjects.add(eObject);
--
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
[jira] Commented: (TUSCANY-1164) Container of root object is
non-null after endLogging()
Posted by "Yang ZHONG (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480568 ]
Yang ZHONG commented on TUSCANY-1164:
-------------------------------------
Thanks to Kelvin for pinpointing the EMF problem.
I have verified and entered an EMF bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=177235
> Container of root object is non-null after endLogging()
> -------------------------------------------------------
>
> Key: TUSCANY-1164
> URL: https://issues.apache.org/jira/browse/TUSCANY-1164
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Implementation
> Affects Versions: Java-SDO-M3
> Reporter: Kelvin Goodson
> Fix For: Java-SDO-M3
>
> Attachments: RootContainedByChSumTestCase.java
>
>
> When change logging is turned off on a root data object which has a ChangeSummary property, the DataObject becomes contained by the ChangeSummaryImpl (test case to be appended)
> I believe that the issue is associated with the assumptions behind the EMF code at line 272 of ChangeRecorder.java (EMF 2.2.2) in the consolidateChanges() method
> if (eObject.eContainer() == null && eObject.eResource() == null)
> {
> if (originalTargetObjects.contains(eObject))
> {
> orphanedObjects.add(eObject);
--
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
[jira] Updated: (TUSCANY-1164) Container of root object is non-null
after endLogging()
Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kelvin Goodson updated TUSCANY-1164:
------------------------------------
Attachment: RootContainedByChSumTestCase.java
> Container of root object is non-null after endLogging()
> -------------------------------------------------------
>
> Key: TUSCANY-1164
> URL: https://issues.apache.org/jira/browse/TUSCANY-1164
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Implementation
> Affects Versions: Java-SDO-M3
> Reporter: Kelvin Goodson
> Attachments: RootContainedByChSumTestCase.java
>
>
> When change logging is turned off on a root data object which has a ChangeSummary property, the DataObject becomes contained by the ChangeSummaryImpl (test case to be appended)
> I believe that the issue is associated with the assumptions behind the EMF code at line 272 of ChangeRecorder.java (EMF 2.2.2) in the consolidateChanges() method
> if (eObject.eContainer() == null && eObject.eResource() == null)
> {
> if (originalTargetObjects.contains(eObject))
> {
> orphanedObjects.add(eObject);
--
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
[jira] Resolved: (TUSCANY-1164) Container of root object is
non-null after endLogging()
Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kelvin Goodson resolved TUSCANY-1164.
-------------------------------------
Resolution: Fixed
Fix Version/s: (was: Java-SDO-Mx)
Java-SDO-M3
> Container of root object is non-null after endLogging()
> -------------------------------------------------------
>
> Key: TUSCANY-1164
> URL: https://issues.apache.org/jira/browse/TUSCANY-1164
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Implementation
> Affects Versions: Java-SDO-M3
> Reporter: Kelvin Goodson
> Fix For: Java-SDO-M3
>
> Attachments: RootContainedByChSumTestCase.java
>
>
> When change logging is turned off on a root data object which has a ChangeSummary property, the DataObject becomes contained by the ChangeSummaryImpl (test case to be appended)
> I believe that the issue is associated with the assumptions behind the EMF code at line 272 of ChangeRecorder.java (EMF 2.2.2) in the consolidateChanges() method
> if (eObject.eContainer() == null && eObject.eResource() == null)
> {
> if (originalTargetObjects.contains(eObject))
> {
> orphanedObjects.add(eObject);
--
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
[jira] Commented: (TUSCANY-1164) Container of root object is
non-null after endLogging()
Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482698 ]
Kelvin Goodson commented on TUSCANY-1164:
-----------------------------------------
Applied workaround (see http://svn.apache.org/viewvc?view=rev&revision=520824) and opened TUSCANY-1189 to remove workarounds when EMF 2.3 can be used.
> Container of root object is non-null after endLogging()
> -------------------------------------------------------
>
> Key: TUSCANY-1164
> URL: https://issues.apache.org/jira/browse/TUSCANY-1164
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Implementation
> Affects Versions: Java-SDO-M3
> Reporter: Kelvin Goodson
> Fix For: Java-SDO-M3
>
> Attachments: RootContainedByChSumTestCase.java
>
>
> When change logging is turned off on a root data object which has a ChangeSummary property, the DataObject becomes contained by the ChangeSummaryImpl (test case to be appended)
> I believe that the issue is associated with the assumptions behind the EMF code at line 272 of ChangeRecorder.java (EMF 2.2.2) in the consolidateChanges() method
> if (eObject.eContainer() == null && eObject.eResource() == null)
> {
> if (originalTargetObjects.contains(eObject))
> {
> orphanedObjects.add(eObject);
--
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
[jira] Commented: (TUSCANY-1164) Container of root object is
non-null after endLogging()
Posted by "Yang ZHONG (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481764 ]
Yang ZHONG commented on TUSCANY-1164:
-------------------------------------
I'll try to patch once the EMF fix becomes available in a snapshot build.
> Container of root object is non-null after endLogging()
> -------------------------------------------------------
>
> Key: TUSCANY-1164
> URL: https://issues.apache.org/jira/browse/TUSCANY-1164
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Implementation
> Affects Versions: Java-SDO-M3
> Reporter: Kelvin Goodson
> Fix For: Java-SDO-Mx
>
> Attachments: RootContainedByChSumTestCase.java
>
>
> When change logging is turned off on a root data object which has a ChangeSummary property, the DataObject becomes contained by the ChangeSummaryImpl (test case to be appended)
> I believe that the issue is associated with the assumptions behind the EMF code at line 272 of ChangeRecorder.java (EMF 2.2.2) in the consolidateChanges() method
> if (eObject.eContainer() == null && eObject.eResource() == null)
> {
> if (originalTargetObjects.contains(eObject))
> {
> orphanedObjects.add(eObject);
--
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