Issue 92125 - New cross-reference system for lists and headings is unstable
Summary: New cross-reference system for lists and headings is unstable
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 3.0 Beta 2
Hardware: All All
: P3 Trivial with 4 votes (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-25 10:44 UTC by rgb
Modified: 2017-05-20 11:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description rgb 2008-07-25 10:44:58 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.
Comment 1 michael.ruess 2008-07-25 11:35:54 UTC
Reassigned to ES.
Comment 2 eric.savary 2008-08-05 08:08:14 UTC
@OD: can we find a way to prevent the start/end point of a reference from beeing
deleted or at least show it exists?
Comment 3 Oliver-Rainer Wittmann 2008-08-05 08:57:00 UTC
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.
Comment 4 rgb 2008-09-03 13:31:30 UTC
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.
Comment 5 Oliver-Rainer Wittmann 2008-09-03 13:52:34 UTC
OD->rgb:
Yes, your investigation is correct.
I will take care of a fix for this unexpected behavior to this kind of references.
Comment 6 rgb 2009-03-11 19:28:35 UTC
Is there any news? Problem is still present in OOO310-m4.
Comment 7 rgb 2009-03-11 19:29:04 UTC
Is there any news? Problem is still present in OOO310-m4.
Comment 8 Oliver-Rainer Wittmann 2009-03-12 07:04:55 UTC
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
Comment 9 Oliver-Rainer Wittmann 2009-08-06 11:57:55 UTC
fixed in cws sw32a11y01 - changed files:
/sw/source/core/undo/undobj.cxx, rev. 274716
/sw/source/core/doc/docbm.cxx, rev. 274717
Comment 10 Oliver-Rainer Wittmann 2009-08-07 13:48:02 UTC
fix needs adjustment, because fix of issue 103913 needs to be considered.
Comment 11 Oliver-Rainer Wittmann 2009-08-07 14:45:44 UTC
adjusted fix in cws sw32a11y01 - changed file:
/sw/source/core/doc/docbm.cxx, rev. 274774
Comment 12 Oliver-Rainer Wittmann 2009-08-11 12:03:37 UTC
OD->ES: Checked in internal installation set of cws sw32a11y01 - please verify.
Comment 13 Oliver-Rainer Wittmann 2009-08-11 12:04:19 UTC
forgot to assign to ES ;-)
Comment 14 eric.savary 2009-08-23 20:33:10 UTC
Verified in cws sw32a11y01