Bug 74978

Summary: LibreOffice 4.x not provides possibility to repair ODG document when open
Product: LibreOffice Reporter: JP CASSOU <ghtopo>
Component: DrawAssignee: Maxim Monastirsky <momonasmon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: medium    
Version: 4.0.6.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=75033
Whiteboard: target:4.3.0
Crash report or crash signature: Regression By:
Attachments: Repair Dialog provided by LO versions <3.6 but unavailable with later versions
This ODG file is repaired successfully by LO 3.6 but fails with LO 4.x
New.odg successfully opened after repair
Last version og new.odg.

Description JP CASSOU 2014-02-14 13:21:24 UTC
Created attachment 94062 [details]
Repair Dialog provided by LO versions <3.6 but unavailable with later versions

Versions 4.x of LibreOffice not permit repair a corrupted ODG document. Previous versions permit it after diplay repair proposition dialog (see attachment).

Severity is marked 'critical' because I can repair much ODF corrupted files with LO 3.6. 

With LO 4.x, this possibility is unavailable.
Comment 1 JP CASSOU 2014-02-14 13:25:20 UTC
Created attachment 94063 [details]
This ODG file is repaired successfully by LO 3.6 but fails with LO 4.x

This ODG file is repaired successfully by LO 3.6 but fails with LO 4.x

XML validation of each file: OK
Comment 2 JP CASSOU 2014-02-14 13:28:54 UTC
Created attachment 94064 [details]
New.odg successfully opened after repair
Comment 3 JP CASSOU 2014-02-14 13:31:46 UTC
Additionnally, I hope documentation in french and minimal requirements (minimal structure of ODF document) to generate valid ODF document.

Thanks
Comment 4 retired 2014-02-14 14:34:35 UTC
4.0.6 is EndOfLife (EOL).

Is this bug still valid / reproducible with the latest LO release?  Currently 4.2.0.4: http://www.libreoffice.org/download/

Please also try resetting your user profile and let us know if that helps: https://wiki.documentfoundation.org/UserProfile

Should this be still reproducible for you with the latest LO release please set this bug back to UNCONFIRMED. Should this issue be solved set it to WORKSFORME.

Setting to NEEDINFO until more detail is provided.
Comment 5 JP CASSOU 2014-02-14 16:33:33 UTC
Created attachment 94079 [details]
Last version og new.odg.

New version of this file, with corrections in all files.

Always same problem ...
Comment 6 JP CASSOU 2014-02-14 16:40:43 UTC
(In reply to comment #4)
> 4.0.6 is EndOfLife (EOL).
> 
> Is this bug still valid / reproducible with the latest LO release? 
> Currently 4.2.0.4: http://www.libreoffice.org/download/
> 
> Please also try resetting your user profile and let us know if that helps:
> https://wiki.documentfoundation.org/UserProfile
> 
> Should this be still reproducible for you with the latest LO release please
> set this bug back to UNCONFIRMED. Should this issue be solved set it to
> WORKSFORME.
> 
> Setting to NEEDINFO until more detail is provided.

Problem is reproductible.

Document perfectly loaded after reparations.
Comment 7 Maxim Monastirsky 2014-05-01 13:19:19 UTC
confirmed.
Comment 8 Maxim Monastirsky 2014-05-01 18:31:04 UTC
This was fixed on master with http://cgit.freedesktop.org/libreoffice/core/commit/?id=f82f7bf3dd5053049259f6933d1335f6c9e314dd.