Bug 544609 - Excel errors on opening birt generated files
Summary: Excel errors on opening birt generated files
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 4.5.0   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-Report-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-20 03:34 EST by Maximilian Ridder CLA
Modified: 2019-02-20 03:34 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Ridder CLA 2019-02-20 03:34:20 EST
We are successfully generating excel .xslx exports with birt. Unfortunately Excel 2010+2013 prompts an error on opening the generated reports. On my research I found some articles which state, that birt doesn´t generate native excel by default.

On opening the file it says:
"The file could be corrupted or unsafe. Unless you trust its source, don't open it. Do you want to open it anyway?"

The Excel Document is then in read only mode. On activating edit on the xslx file it prompts:
"Excel was able to open the file by repairing or removing the unreadable content"

This is our version defintion in our pom.xml
<dependency>
    <groupId>org.eclipse.birt.runtime</groupId>
    <artifactId>viewservlets</artifactId>
    <version>4.5.0</version>
    <exclusions>
        <exclusion>
            <groupId>org.eclipse.birt.runtime.3_7_1</groupId>
            <artifactId>org.apache.commons.codec</artifactId>
        </exclusion>
    </exclusions>
</dependency>

Is this a known issue? How can I fix it?