kromitgmbh / titra

titra - modern open source project time tracking for freelancers and small teams
https://titra.io
GNU Affero General Public License v3.0
404 stars 55 forks source link

Excel file is corrupted #210

Closed AndreasBomholtz closed 4 months ago

AndreasBomholtz commented 6 months ago

When downloading an Excel file, Excel can open it and use it.

But I can't copy anything or create new sheets in the document.

I get this error: image (2)

It used to work, but after I upgraded to version 0.97.2 from 0.95.6, the file was corrupted.

I'm using Microsoft Office 356 Business

faburem commented 6 months ago

Unfortunately I am not able to reproduce the issue. Can you maybe provide an example export so I can investigate further? I even tried validating the generated files using Microft's OOXML Validator:

image
AndreasBomholtz commented 6 months ago

Here is a simple file, where we can't create a new sheet in the book.

titra_export_20240506-1114_andreas_bomholtz.xlsx

faburem commented 6 months ago

I am really sorry but I still cannot reproduce the issue. I am also using Office 365 and can perfectly open and edit the example file without any problems. I tried creating a new sheet, copy content to the new sheet, moving multiple columns and everything else I could think of:

image

Also, the example file seems to be valid according to the validator:

image

We are using the nullxlsx library to create the xlsx export without any titra specific modifications so I have no idea what could have changed since version 0.95.6.

AndreasBomholtz commented 4 months ago

Works on a other machine.