Bug 111674 - Always office:value="0" for field variable "Formula", which is <text:expression> in file format
Summary: Always office:value="0" for field variable "Formula", which is <text:expressi...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.0.0.alpha0+
Hardware: x86 (IA32) Windows (All)
: high normal
Assignee: Not Assigned
URL: http://docs.oasis-open.org/office/v1....
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: Fields
  Show dependency treegraph
 
Reported: 2017-08-10 23:06 UTC by Regina Henschel
Modified: 2023-08-18 18:40 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example with element <text:expression> (27.44 KB, application/vnd.oasis.opendocument.text)
2017-08-10 23:06 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2017-08-10 23:06:53 UTC
Created attachment 135440 [details]
Example with element <text:expression>

Open attached document in editor and verify, that office:value="5".
Open the file in LibreOffice 5.2 and save is with a new name. Verify, that still office:value="5".
Open the file in LibreOffice 6.0 and save it with a new name. Open it in editor. Notice that office:value="0" now.

The attribute office:value must have the current value of a <text:expression> element. Read specification section "7.4.14<text:expression>" and "19.384office:value".
Comment 1 Regina Henschel 2017-08-10 23:11:21 UTC
Error is already in Version: 5.3.5.2
Build ID: 50d9bf2b0a79cdb85a3814b592608037a682059d
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; Layout Engine: new; 
Locale: de-DE (de_DE); Calc: group
Comment 2 Regina Henschel 2017-08-10 23:15:53 UTC
And in Version: 5.3.0.0.alpha0+
Build ID: e10a4c1cc9f8b2033997c7f032255071aafab9c9
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2016-05-26_23:59:52
Locale: de-DE (de_DE)
Comment 3 Adolfo Jayme Barrientos 2017-08-13 10:09:06 UTC
→ NEW
Comment 4 QA Administrators 2018-08-14 02:32:17 UTC Comment hidden (obsolete)
Comment 5 Regina Henschel 2018-08-14 09:02:16 UTC
The error still exists in Version: 6.2.0.0.alpha0+ (x64)
Build ID: d54861bac28c0c6dd84bca6a9c1ddeb76de184a8
CPU threads: 8; OS: Windows 10.0; UI render: GL; 
Locale: de-DE (en_US); Calc: threaded
Comment 6 Buovjaga 2020-06-06 14:15:30 UTC
Are you sure this is a regression? I repro with 3.5.0, 4.4.7, oldest commit of Win bibisect repos 5.0, 5.1, 5.2, 5.3.
Comment 7 QA Administrators 2022-06-07 03:26:27 UTC Comment hidden (obsolete)
Comment 8 Regina Henschel 2022-06-07 09:06:09 UTC
The error happens only, if you open the document and save it without updating the fields. So there is likely something wrong on opening.

I see the error still in Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 172e208e6b0674f42c301c5ee5e280e9138ba1b4
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL