Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1164

Container of root object is non-null after endLogging()

    XMLWordPrintableJSON

Details

    Description

      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);

      Attachments

        1. RootContainedByChSumTestCase.java
          2 kB
          Kelvin Goodson

        Activity

          People

            Unassigned Unassigned
            kgoodson Kelvin Goodson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: