Bug 79591 - FILESAVE: Corruption: File containing anchored object is getting corrupt after RT
Summary: FILESAVE: Corruption: File containing anchored object is getting corrupt afte...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.0.alpha0+ Master
Hardware: Other All
: medium normal
Assignee: Dinesh
URL:
Whiteboard: BSA target:4.4.0 target:7.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-03 14:07 UTC by Dinesh
Modified: 2021-04-13 18:40 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
File contains anchored object (99.80 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-06-03 14:07 UTC, Dinesh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dinesh 2014-06-03 14:07:48 UTC
Created attachment 100360 [details]
File contains anchored object

Problem description: 
File containing anchored object is getting corrupt after RT.

Steps to reproduce:
1. Open the file in LibreOffice
2. Click File -> Save As (Microsoft Word 2007/2010 (.docx))
3. Open saved file in MS Office

Current behavior:
File is getting corrupt after RT

Expected behavior:
File should open without any error
              
Operating System: All
Version: 4.4.0.0.alpha0+ Master
Comment 1 Jorendc 2014-06-03 20:37:02 UTC
Repro, tested using Version: 4.4.0.0.alpha0+
Build ID: b447687292334687a371b66d7ad56ba9662b898e
TinderBox: Win-x86@39, Branch:master, Time: 2014-06-03_06:24:04
Comment 2 Commit Notification 2014-06-20 07:54:01 UTC
Dinesh Patil committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=7ea1bbe712cef48a97faffdf03b45f2812a93e62

fdo#79591 Values for docPr name and shape ID attributes were set invalid



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 Commit Notification 2021-04-13 18:40:34 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/54054aaea74d524a05f899f8af27e2a65e17be52

tdf#79591: No need to use getStr here

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