https://bugs.freedesktop.org/show_bug.cgi?id=56266

          Priority: medium
            Bug ID: 56266
          Assignee: [email protected]
           Summary: FILESAVE: "Track/record changes": interdependentant
                    revision marks not correctly saved to ODT file
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 3.6.2.2 release
         Component: Writer
           Product: LibreOffice

When you use revision marks (track/record changes) in ODT, Writer does not
always correctly save the revision history of the document and, consequently,
some insertions made and tracked are accepted instead of rejected when you
reject all changes.

This happens when 2 or more users edit a document under revision control in
separate edit sessions, and one user deletes text inserted by another user.

Reproduce:
(1) Take an ODT document. Ensure that a valid user name is defined under
Tools/Options/User Data. (User 1)
(2) Enable "Record changes". Insert 3 or more words of text. (Optionally save
to file.)
(3) Let another user open the file. Or: change your user name under
Tools/Options/User Data. (User 2)
(4) Delete the 2nd word inserted in step (2).
Open "Accept/reject all changes" dialogue: the edits are displayed in a tree
structure reflecting their "nested" character. Close dialogue without doing
anything.
(5) Save and close the file. Reload it.
Open "Accept/reject all changes" dialogue: the edits are displayed in a flat
list - information about their "nestedness" is lost.
(6) Reject all changes made. The complete insertion in step (2) should be
deleted. Instead, the part deleted by user 2 in step (4) is kept in the
document plus the text inserted by User 1 following the word deleted by User 2.

Interdependentant edits (deletions inside insertions) are correctly kept in
LO's internal data structures, but not properly saved to file and lost on
reload of the document.

By the way: If you reject all changes after step 4, you cannot do it in 1 step
as I would expect. You have to press the same button twice. But I'm not sure if
there is some logic behind that.

Tested with LO 3.5.4.2 and 3.6.2.2 (Ubuntu 12.04).

-- 
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

Reply via email to