https://bugs.freedesktop.org/show_bug.cgi?id=55143
Bug #: 55143
Summary: FILESAVE: LibreOffice corrupting complex documents
involving html tags
Classification: Unclassified
Product: LibreOffice
Version: 3.5.0 release
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Status Whiteboard: BSA
Severity: normal
Priority: medium
Component: Writer
AssignedTo: [email protected]
ReportedBy: [email protected]
Problem description:
Occasionally corrupted documents, missing text
Steps to reproduce:
1. Edit document that includes html tags or bookmarks
2. Save
3. Return to document
In one case, added some hyperlinks to .docx. One of the hyperlinks was
malformed by LibreOffice (it was correct when I entered it). LibreOffice did
not tell me there was a problem. Saved, closed, left it alone, came back.
When I tried to move it elsewhere (without opening), OpenSuse told me that
there was malformed html in the file and wouldn't do it. When it opened it,
the file cut off in the middle of one of the new html tags. LibreOffice
returns no errors, just cuts it off. It actually eliminated all of the tag
except the final bookmark part of the html page, #Bookmark. MS Word refuses to
open the file and returns the message "The name in the end tag of the element
must match the element type in the start tag" "Location: Part:
/word/document.xml, Line: 2, Column:7625" It's a small file now, so it looks
like LibreOffice just chopped off the 2d half of it, which I will say is very
frustrating.
In the other case, in a complex .odt document using bookmarks, I pasted a
block of encrypted text into the document and when I returned to the document
after a save/reopen, the text was cut off halfway through (not good). The rest
of the document afterward continued after a page break. So I did it again,
pasted in a new block of encrypted text under the last and deleted the partial
block of text and lo, the missing text reappeared after deleting the first
half! It was in the document but LibreOffice was failing to display it (and I
had tried to manually move the cursor through it earlier to see if it was
hidden but no luck). Very bad.
Current behavior:
In complex documents, I see now that I never can tell if LibreOffice saved the
document correctly. When I reopen, a decent chance something is corrupted or
missing.
Expected behavior:
When I save a document, and the document does not return errors during the
save, all of the features and text should be saved and not corrupted. Even if
they are not later available in Word (which I understand has some compatibility
issues) the document should be readable in LibreOffice.
Platform (if different from the browser):
OpenSuse 12.2
Browser: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0.1
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs