Uploaded image for project: 'ODF Toolkit'
  1. ODF Toolkit
  2. ODFTOOLKIT-413

Document corrupted after copying a sheet including a chart into new spreadsheet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6.2-incubating
    • odfdom
    • Patch

    Description

      After copying a sheet including a chart into new spreadsheet the document is corrupt and have to be repaired by LibreOffice5.

      The reason is that there are multiple manifest entries for the same file within the ODF package, as the validator reveals: see http://odf-validator.rhcloud.com

      I have created a test environment for the Simple API, which copies all dependent files of the sheet aside of the sheet (the table) itself.

      In addition I have fixed in the test scenario already a minor bug in the Simple API, where attributes without namespaces (an issue of the original document) can not be created - an additional fix for this side problem will be in ODFDOM.

      The complete fix likely only affects ODFDOM API.

      Attachments

        1. SpreadsheetWithChart.ods
          14 kB
          Svante Schubert
        2. SimpleAPI_DuplicatedManifestEntriesTest.diff
          29 kB
          Svante Schubert

        Activity

          People

            svanteschubert Svante Schubert
            svanteschubert Svante Schubert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: