[
https://issues.apache.org/jira/browse/ODFTOOLKIT-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Svante Schubert updated ODFTOOLKIT-413:
---
Attachment: SimpleAPI_DuplicatedManifestEntriesTest.diff
SpreadsheetWithChart.ods
A test case with minor fixes for Simple API.
Diff created by Netbeans including already the test document, which was for
convenience explicitly added as well.
In the diff the pom.xml of the Simple API was changed to update the
maven-surefire-plugin to allow me starting only a single test method of a test
file from the context menu in Netbeans (avoiding the usage of @Ignore tags as
done previously)
> Document corrupted after copying a sheet including a chart into new
> spreadsheet
> ---
>
> Key: ODFTOOLKIT-413
> URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-413
> Project: ODF Toolkit
> Issue Type: Bug
> Components: odfdom
>Reporter: Svante Schubert
>Assignee: Svante Schubert
> Labels: test
> Attachments: SimpleAPI_DuplicatedManifestEntriesTest.diff,
> SpreadsheetWithChart.ods
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)