Bug 161930

Summary: Bundled templates must not have their mimetype file compressed to be ODF valid
Product: LibreOffice Reporter: Laurent Balland <jumbo4444>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal CC: cloph
Priority: medium Keywords: regression
Version: 25.2.0.0 alpha0+   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:

Description Laurent Balland 2024-07-06 15:56:43 UTC
Description:
When testing bundled templates with ODF validator, it complains that file 'mimetype' shall not be compressed

Steps to Reproduce:
1. Pick a bundled template such as LIBO/share/template/common/presnt/Metropolis.otp
2. Drop it on ODF validator https://odfvalidator.org/
3. Select ODF Version (1.2 extended in this case)
4. Click Validate

Actual Results:
An error is detected:
Metropolis.otp/mimetype: Error: The file 'mimetype' shall not be compressed in the ODF package 'Metropolis.otp'!

Expected Results:
No error detected


Reproducible: Always


User Profile Reset: Yes

Additional Info:
No bug with 24.2.0 beta1
Comment 1 Laurent Balland 2024-07-06 15:59:40 UTC
@Christian: you may be interested by this one, as you modified the make files that create the templates
Comment 2 Laurent Balland 2024-07-06 16:18:17 UTC
Reverting https://gerrit.libreoffice.org/c/core/+/169342 fix this bug for me.