Bug 38727

Summary: (FILEOPEN, EDITING) Bookmark Referenced fields to DDE data o not update correctly on file open
Product: LibreOffice Reporter: trumpton9
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: sasha.libreoffice, trumpton9
Version: 3.3.2 release   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Calc and Writer files used to re-create DDE / Field bug
screenshot of problem

Description trumpton9 2011-06-27 15:04:56 UTC
Created attachment 48488 [details]
Calc and Writer files used to re-create DDE / Field bug

Writer document has a DDE linked table to a Calc spreadsheet.
Writer document has bookmarks on certain fields within the table.
These bookmarks are used elsewhere in the document as fields.

Tools / Update / All - correctly updates everything with data from Calc

file close / file open, however updates the Linked table, but not the bookmark-referenced field.  repeatedly closing the file and re-opening it shows that the bookmark-referenced field is one save/load operation behind.  Other fields such as the time-stamp update as expected on loading.

The field can be updated by doing one of the following:

  1) F9
  2) Tools / Update / All
  3) Selecting some text, cutting it to the clipboard and pasting it back


Bug conclusion is as follows:

  1) File / Open updates bookmark-referenced fields before loading the DDE data in.  Some iteration or re-sequencing is required so that external data is updated first, and internal data updated second.

To re-create, please see the two attached files.  Start with reading the Calc file, which walks you through the re-creation ...
Comment 1 trumpton9 2011-06-27 15:14:54 UTC
Actual Version Details:

  LibreOffice 3.3.2 
  OOO330m19 (Build:202)
  3.3.2.2

Running On:

  Mandriva 2011.0 RC
Comment 2 Björn Michaelsen 2011-12-23 12:22:00 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 3 sasha.libreoffice 2012-01-27 07:31:27 UTC
Created attachment 56223 [details]
screenshot of problem

reproduced in LibO 3.6.0 master on Fedora 64 bit
on screenshot we see word "Squared2" and in field below "Squared1", therefore field has previous value of table
Comment 4 Cédric Bosdonnat 2014-01-20 08:57:27 UTC
Restricted my LibreOffice hacking area

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.