Download it now!
Bug 121099 - FILEOPEN DOC Reference not imported if it precedes bookmarked field
Summary: FILEOPEN DOC Reference not imported if it precedes bookmarked field
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: filter:doc
Depends on: 120225
Blocks: Fields-Cross-Reference DOC-Forms
  Show dependency treegraph
Reported: 2018-11-01 17:07 UTC by Aron Budea
Modified: 2019-07-03 12:38 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

Sample DOC (26.50 KB, application/msword)
2018-11-01 17:07 UTC, Aron Budea

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2018-11-01 17:07:21 UTC
Created attachment 146229 [details]
Sample DOC

The attached DOC file contains a Text Form Field (Legacy Form control), which has a bookmark (Text1). It also contains a cross reference (field of type Ref) referencing the bookmark, and it's before the text field this time. The document is protected, only filling in the form is allowed.

- Open attached DOC in Writer.
- Type something in the field.
- Press F9.

=> The reference isn't updated (it's likely lost upon import).

In a build before bug 120225's fix, the referencing field reads "Error: Reference source not found".

Observed using LO (e33424dd887cb1a11a3dba2513ef0f4bf93a6dbe) / Windows 7.
Comment 1 Timur 2019-07-03 12:38:51 UTC
If I understand, in MSO we can right-click after "Referenced content" to update and in LO not. 
DOC should be MSO produced, I guess.