Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONFLUENCE-494

Contents are not imported when BodyContent objects refer to their belonging content using the ContentObjectEntity class

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.88.3
    • None
    • None
    • None
    • Unknown

    Description

      A change of the Confluence export format breaks content import:

      <object class="BodyContent" package="com.atlassian.confluence.core">
          <id name="id">1212429</id>
          <property name="body"><![CDATA[<p>hello</p>]]></property>
          <property name="bodyType">2</property>
          <property name="content" class="ContentEntityObject" package="com.atlassian.confluence.core"><id name="id">851987</id></property>
      </object>
      

      class="ContentEntityObject" needs to be handled. The class attribute used to match the specific content type and we've been relying on this. We now have to write more complex logic to handle this.

      Attachments

        Activity

          People

            rjakse Raphaël Jakse
            rjakse Raphaël Jakse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: