Problem description: Opening file fails after saving Found issue on version 4.2.4.2 Downloaded update, reproduced on 4.2.6.3 Steps to reproduce: 1. Open before.odp 2. save 3. close file 4. open before.odp same error if 1. Open before.odp 2. save as after.odp 3. close file 4. open after.odp Current behavior: fails with error "Read-Error. Format error discovered in the file in sub-document styles.xml at position 2,438212(row,col)." Expected behavior: Opens correctly, no error Operating System: Mac OS X Version: 4.2.4.2 release
hmm the document reproducing the bug is too big to attach (7 MB). Please email me and I'll mail you the document (odp).
Created attachment 106657 [details] before.odp with pictures removed I removed the pictures from the .odp (opened it as a package file and deleted the Pictures folder). I get the same error as the reporter after saving on Win7 64-bit 4.3.0.4 and 4.4.0.0.alpha0+
status NEW and platform ALL according to confirmation in previous post have you guys tried 4.3.2.2 release?
Just confirmed the problem persists on Win 7 64-bit 4.3.2.2 and today's 4.4.0.0 dev build.
Presumably the problem is caused by commit 13ef16423e78d3ea825172594f08c47d2f9bfd09 Author: Armin Le Grand <alg@apache.org> Date: Wed Nov 21 13:23:01 2012 +0000 For backward compatibility take mirrorings in setTransformation into account Also found an error in SdrObjCustomShape::TRGetBaseGeometry when MirrorY was used (cherry picked from commit 4116c33b12d3787c406f0348f89efcb1cf409507)
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=751e5b32c5c361995bf0ba3295f773341fd92c23 Resolves: fdo#84043 don't create duplicate Mirrored[X|Y] properties It will be available in 4.5.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I have a fix anyway that will allow the document to be loaded, saved and reloaded without error. review for 4-4 as https://gerrit.libreoffice.org/#/c/13149/ and it that passes muster then will add for 4-3 afterwards
this is a really horrible bug; Beluga / tommy please if you triage a bug where LO can't read a file in the default format (ODF) that it wrote itself CC me immediately.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-4-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d3b7bf16a58c02af2d1fdf5db2fa149c6815095c&h=libreoffice-4-4 Resolves: fdo#84043 don't create duplicate Mirrored[X|Y] properties It will be available in 4.4.0.0.beta2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-4-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=9e57326acebde972df22ea4368b5ce4822d51330&h=libreoffice-4-3 Resolves: fdo#84043 don't create duplicate Mirrored[X|Y] properties It will be available in 4.3.6. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ecf0d01e091ab0dde5845fe9b0a47ba1a961eda2&h=libreoffice-4-2 Resolves: fdo#84043 don't create duplicate Mirrored[X|Y] properties It will be available in 4.2.8. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=12ab10e5824bb5efff27123aecfdefa1a16d5223 fdo#84043: add a test for the bug It will be available in 4.5.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-4-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=17d4a05bb8757da6384d0df8385deb86b8080856&h=libreoffice-4-4 fdo#84043: add a test for the bug It will be available in 4.4.0.0.beta2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-4-3-5": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4a977d4eeec6fc7c80f60cc2819e19f39dc1a077&h=libreoffice-4-3-5 Resolves: fdo#84043 don't create duplicate Mirrored[X|Y] properties It will be available in 4.3.5. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.