Apache OpenOffice (AOO) Bugzilla – Issue 78955
Creation of superfluous indices by change tracking / highlighting
Last modified: 2013-08-07 14:44:35 UTC
Load the attached test document, search for the word "must" from the line "All implementations must preserve any xml:id attribute and its value when present on any of the elements listed in 1.4.3.." Replacing it with shall and saving the document brought the office into a loop.
Created attachment 46320 [details] Dokument with change tracking
On the same day earlier I did a search and replace with highlighting of a part of an indexed field. I removed the brackets around e.g. changed <odf:package> to odf:package I can found thousands text:alphabetical-index-mark-start/end elements surrounding these brackets, mainly the closing one.
loop -> P2
Created attachment 50232 [details] Bug document shows root cause
I could _not_ reproduce a loop, but it takes quiet a while until the document has been saved. The original document contains a lot of unnecessary 'alphabetical entries' in the change tracking part of the content.xml. Every saving adds more such entries into the content.xml and make the saving more slower (until it feels like a loop). I was able to reproduce this behavior from the beginning with the newly attached bug document. Every save and reload will add more entries to the document: 1. Open document 2. Update index 3. Save docuemnt 4. Reload document 5. Proceed with 2. You will see that the entries becomes more and more. This problem has been in OOo1.x from the beginning and need to be fixed...