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
@Christian: you may be interested by this one, as you modified the make files that create the templates
Reverting https://gerrit.libreoffice.org/c/core/+/169342 fix this bug for me.
Can't reproduce with my own trunk build with today's sources: - all green for 1.2 extended conforming - only following error for 1.2 conforming: Error: tag name "loext:graphic-properties" is not allowed. Do you still see this, Laurent?
(In reply to Stéphane Guillou (stragu) from comment #3) > Can't reproduce with my own trunk build with today's sources: > > - all green for 1.2 extended conforming > - only following error for 1.2 conforming: > Error: tag name "loext:graphic-properties" is not allowed. > > Do you still see this, Laurent? I can't test this week due to limited connection, but I will retest asap with fresh sources
[Automated Action] NeedInfo-To-Unconfirmed
I do reproduce with fresh master and a 'make distclean' on my Linux. I also tested on Windows with recent master, and I do reproduce. I planed to fix other errors (tag name "loext:graphic-properties" is not allowed) in bundled templates. This report is only specific to Error: The file 'mimetype' shall not be compressed in the ODF package 'xxxxx.otp'!
(In reply to Laurent Balland from comment #6) Hm I might be missing a build option because the file in question hasn't been changed by my builds for a while.
OK, after distclean and make, I can reproduce with current master.
(In reply to Laurent Balland from comment #2) > Reverting https://gerrit.libreoffice.org/c/core/+/169342 fix this bug for me. Bibisect not needed
Laurent Balland committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/190ccb653955fa1d23e7c0d3bf5e47769a73ba30 tdf#161930 Copy only once mimetype It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.