Issue 26886 - Cross-references to footnotes not updated when the footnote number is changed
Summary: Cross-references to footnotes not updated when the footnote number is changed
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1
Hardware: PC Linux, all
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2004-03-23 18:57 UTC by jimmyh
Modified: 2017-05-20 11:26 UTC (History)
1 user (show)

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


Attachments
example showing incorrectly labeled references (5.44 KB, application/vnd.sun.xml.writer)
2004-03-23 21:37 UTC, jimmyh
no flags Details
fixed example document (5.50 KB, application/vnd.sun.xml.writer)
2004-03-23 23:51 UTC, jimmyh
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jimmyh 2004-03-23 18:57:59 UTC
To reproduce:

1) In a writer document, create a footnote. Use automatic labels. I'll call this 
footnote A
2) Below it, create a reference to that footnote with Insert->Cross Reference
3) Now create another footnote (footnote B), above the first, again with 
automatic labels.

Now A should be labeled 2, but the reference to A will still be represented by a 
1. Clicking on the reference takes focus to te correct note, so this seems to 
just be a labeling issue.

I found this on Fedora core1, with OOo1.1 as packaged by the Fedora project 
(from their apt repository), and also reproduced the bug on a Sun Ray machine 
running OOo 1.1.
Comment 1 lohmaier 2004-03-23 20:16:45 UTC
not reproducible here.

I assume errornously chose the page-reference instead of the reference-text.

E.g. The number shown is not the number of the footnote, but the page number of
the page the footnote is part of.

Please report back whether this is the problem.
Comment 2 jimmyh 2004-03-23 21:36:33 UTC
No, the problem remains.
I am attaching a document which highlights the problem.
Comment 3 jimmyh 2004-03-23 21:37:59 UTC
Created attachment 14014 [details]
example showing incorrectly labeled references
Comment 4 jimmyh 2004-03-23 21:43:13 UTC
To get a quick demo of why this is a bug, open the attached file, and click the 
1 in "1 <--reference".

This will take you to the footnote labeled 2. This is because the (automaticaly 
assigned) number of the footnotenote changed when another note was inseted above 
it, but the reference to the note did not also update itself to reflect this 
change.
Comment 5 lohmaier 2004-03-23 22:47:22 UTC
No. It is exactly what I assumed. You didn't insert a reference to the
footnote's number, but to the page number the footnote is part of.

So your text could read "See comments in the footnote on page <reference>"

but not "See comments in the footnote numbered <reference>"

To insert the right reference to the number of the footnote, choose
Insert|Reference and in the Format-section don't use the default "Page", but use
"Reference".

resolving worksforme.
Comment 6 jimmyh 2004-03-23 23:50:59 UTC
Sorry, yes, I incorrectly made that example document, as you spotted.

I am including a new example document showing the problem with referencees 
showing footnote numbers instead of page numbers.

In this document there is a reference '2' which takes me to footnote 3. This is 
not because of page numbers - footnote 3 is not on page 2, it is on page 17.

I created this document as before, by making a footnote, referencing it and then 
forcing the note to change it's number by creating another before it.
Comment 7 jimmyh 2004-03-23 23:51:39 UTC
Created attachment 14015 [details]
fixed example document
Comment 8 h.ilter 2004-03-24 15:46:16 UTC
.
Comment 9 h.ilter 2004-03-24 15:47:22 UTC
Reassigned to MRU
Comment 10 lohmaier 2004-03-24 17:39:36 UTC
For some reason the field's display doesn't get updated. Just press <F9> or
choose "Tools|Update -> Fields" and the field will be updated and will show the
correct number.

confirming.
Comment 11 michael.ruess 2004-03-25 07:24:47 UTC
MRU->OS: odd, normally, automatic update of the references to footnotes has no
problem. But in this case, it does not work. Maybe the reference is too far aeay
from the footnote... ;-)
Comment 12 michael.ruess 2004-05-07 15:04:05 UTC
Can't be fixed for OO 2.0. Target now "OO later".
Comment 13 ammadaleem 2005-02-04 16:20:36 UTC
I was able to replicate the bug with Open Office 1.l on a Linux OS and with Open
Office 1.4 on a Windows XP OS. The bug seems to be limited to cross references
(created using reference format) to footnotes (created using the automatic
label). I am including a set of modified replication steps which stresses this: 

To replicate the bug:

1 – In an open office text document create a footnote using Insert --> Footnote.
Use automatic label to create the footnote. This would create a footnote labeled
1. Call this footnote A.
2 – Create a reference to the footnote A, below the footnote using Insert -->
Cross-reference. Cross reference should be of format ‘reference’. This would
create a cross reference to footnote labeled 1.
3 – Using steps 1 and 2 create a second footnote above footnote A.
This would create a footnote labeled 1 above footnote A. Footnote A would be
relabeled 2. Ideally it would be expected that the cross reference to footnote A
would also be relabeled 2, but it continues to be labeled 1.

Here is a scenario in which this bug can be a major headache: You are
constructing a text document and have created hundreds of footnotes (using
automatic labeling) and cross references to these footnotes (using the reference
format). Now you create another footnote (using automatic labeling) at the very
top of the document. The cross reference to all the other footnotes would now
have to be adjusted/ relabeled manually. This will be very tiresome.
Comment 14 Marcus 2017-05-20 11:24:16 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 15 Marcus 2017-05-20 11:26:02 UTC
Reset assigne to the default "issues@openoffice.apache.org".