Issue 53515 - Some references to equations break when document is added to a master document
Summary: Some references to equations break when document is added to a master document
Status: CLOSED DUPLICATE of issue 11174
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: 680m118
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
Keywords: oooqa
Depends on:
Reported: 2005-08-18 22:07 UTC by zurvan
Modified: 2007-03-22 12:07 UTC (History)
2 users (show)

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

first document (15.67 KB, application/vnd.sun.xml.writer)
2005-08-18 22:08 UTC, zurvan
no flags Details
second document (21.97 KB, application/vnd.sun.xml.writer)
2005-08-18 22:09 UTC, zurvan
no flags Details
master document (10.72 KB, application/vnd.oasis.opendocument.text)
2005-08-18 22:09 UTC, zurvan
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description zurvan 2005-08-18 22:07:56 UTC
The issue only show up when equations are referenced and then that document is
added to a master document.  
To create the problem, start by making a document with equations and references
to those equations.

Next add it to the new master document.

Now create another document with more equations.  Make multiple references to
those equations in this document.

Add this second document to the master document.

Now some of the references should point to the wrong equation.
Comment 1 zurvan 2005-08-18 22:08:33 UTC
Created attachment 28907 [details]
first document
Comment 2 zurvan 2005-08-18 22:09:00 UTC
Created attachment 28908 [details]
second document
Comment 3 zurvan 2005-08-18 22:09:38 UTC
Created attachment 28909 [details]
master document
Comment 4 michael.ruess 2005-08-19 06:55:16 UTC
Reassigned to ES.
Comment 5 zurvan 2005-10-04 18:55:58 UTC
As of 10/4/05, with beta v.2, the problem with equations being linked in the
master document are still occuring.  The steps to create this error are outlined
in the description on Thu Aug 18.

-- Blair
Comment 6 Rainer Bielefeld 2007-01-20 13:44:43 UTC
I checked with "2.0.2  German version WIN XP: [680m5(Build9011)]" and can
confirm the problem 

Steps to reproduce:

1. Open 'test1.odt', test and memorize the references in the "blah blah" text to
the Equations
2. Do the same with 'test2.odt'
3. open 'test.odm' and check again, especially memorize "quick brown fox jumps 
  over the lazy dog.  Equation 6 ..."
  "Equation 6" reference should lead to formula with the "-dB/dt" in it
4. Open 'test.odm' containing 'test1.odt' and 'test2.odt'
5. go to text "quick brown fox jumps over the lazy dog.  Equation 6 ..."
   and test reference in "Equation 6"
   Expected: it should lead to formula with the "-dB/dt" in it
   Actual: it leads to a formula "F=m*a"

This wrong reference also was visible in a newly created master document.
Until now I did not test with new "daughter documents" (but I can't believe that
that might change anything).
Some first tests with other (text-) references worked fine, but it seems to be
too early to accept that as a final result.
I will check for Duplicates later.
Comment 7 Rainer Bielefeld 2007-01-20 16:15:52 UTC
DUP. pls see my comments in Issue 11174

*** This issue has been marked as a duplicate of 11174 ***
Comment 8 eric.savary 2007-03-22 12:07:21 UTC