Apache OpenOffice (AOO) Bugzilla – Issue 92125
New cross-reference system for lists and headings is unstable
Last modified: 2017-05-20 11:42:20 UTC
Steps to reproduce the problem on OOo 3 beta 2: First step: Insert a numbered list like 1. First 2. second 3. Third etc. Second step: go to Insert -> Fields -> Others -> Cross-references tab, select "Numbered Paragraphs" and insert a cross reference to item 2 somewhere on the text. Third step: go to the second item and change the text from "second" to "Second". Fourth step: press F9 to update the field. Result: the cross reference field lost the "insertion point" for the reference and gives an error. Expected behaviour: the cross reference field mustn't break. NOTE: the error happens any time you change the _first_ word on the numbered paragraph; if you change the following words or add new ones the field works as expected.
Reassigned to ES.
@OD: can we find a way to prevent the start/end point of a reference from beeing deleted or at least show it exists?
First short investigation reveals, that the reference source is lost, when the first character of the referenced numbered paragraph is deleted. This should not happen to this kind of reference sources.
I made further tests, and discovered that the bug also exists in cross references to headings: changing the first character in the heading breaks the cross-reference field. I changed the title to reflect this problem, because it seems to me that it is the same issue.
OD->rgb: Yes, your investigation is correct. I will take care of a fix for this unexpected behavior to this kind of references.
Is there any news? Problem is still present in OOO310-m4.
OD->rgb: No further news. The issue's target is OOo 3.x. Thus it will be fixed in one of the coming releases. I will try to consider this issue for OOo 3.2
fixed in cws sw32a11y01 - changed files: /sw/source/core/undo/undobj.cxx, rev. 274716 /sw/source/core/doc/docbm.cxx, rev. 274717
fix needs adjustment, because fix of issue 103913 needs to be considered.
adjusted fix in cws sw32a11y01 - changed file: /sw/source/core/doc/docbm.cxx, rev. 274774
OD->ES: Checked in internal installation set of cws sw32a11y01 - please verify.
forgot to assign to ES ;-)
Verified in cws sw32a11y01