Bug 78590

Summary: FILESAVE: File gets corrupt if file contains "framePr" in paragraph properties.
Product: LibreOffice Reporter: Rohit Deshmukh <rohit.deshmukh>
Component: WriterAssignee: Rohit Deshmukh <rohit.deshmukh>
Status: RESOLVED FIXED    
Severity: normal CC: xiscofauli
Priority: medium    
Version: 4.3.0.0.alpha0+ Master   
Hardware: Other   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=80748
https://bugs.documentfoundation.org/show_bug.cgi?id=103544
https://bugs.documentfoundation.org/show_bug.cgi?id=131420
Whiteboard: target:4.4.0 target:7.6.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103305    
Attachments: Original file
FDO78590b.docx - with paragraphs above and below the graphic (lost when roundtripped)

Description Rohit Deshmukh 2014-05-12 07:54:44 UTC
Created attachment 98887 [details]
Original file

Steps to reproduce:
1. Load the attached DOCX in LO
2. Save as NEW.DOCX
3. Open the NEW.DOCX in Word


Current behavior:
File gets corrupt

Expected behavior:
File should open without any error

Error: 
ErrorMessage - Can not put drawing objects into a text box, callout, comment, footnote or endnote
Comment 1 Jorendc 2014-05-12 22:16:11 UTC
Reproducible, tested using Mac OSX 10.9 with LibreOffice Version: 4.3.0.0.alpha1+
Build ID: cc4a3f1a88afff114311bddf462ca4bc00a485c7
TinderBox: MacOSX-x86@49-TDF, Branch:master, Time: 2014-05-12_09:05:53
Comment 2 Commit Notification 2014-06-19 11:02:29 UTC
Rohit Deshmukh committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=1c876f5616522ab695de8c0316cdb0c601081815

fdo#78590: Fix for Corruption of para with framePr & drawing object into para



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.
Comment 3 Justin L 2016-07-29 05:59:03 UTC Comment hidden (obsolete, wrong_bug)
Comment 4 Commit Notification 2023-03-15 16:17:49 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/97b84d31a1db2ec690d180effad307f331d62fb9

tdf#154129 tdf#78590 writerfilter framePr: deduplicate grabbag

It will be available in 7.6.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.