Bug 134230 - Writer: custom date format for ShowVariable field in footer is not saved.
Summary: Writer: custom date format for ShowVariable field in footer is not saved.
Status: RESOLVED DUPLICATE of bug 133459
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2020-06-22 13:18 UTC by dipyalov
Modified: 2020-06-24 07:28 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:

Document to reproduce the bug (9.56 KB, application/vnd.oasis.opendocument.text)
2020-06-22 13:19 UTC, dipyalov

Note You need to log in before you can comment on or make changes to this bug.
Description dipyalov 2020-06-22 13:18:26 UTC
Custom date formatting for a field, located in footer is lost when ODT document is saved.

Steps to Reproduce:
1. Create a document, add SetVariable field of date type
2. Place a ShowVariable field for this var inside Footer and make it custom format, e.g. YYYY-YYYY
3. Save the document, then close it
4. Open the document - most likely everything will be fine, then modify the document, add some text and save it again and close it.
5. Open the document again

Actual Results:
See that the ShowVariable field in footer is now formatted as a number

Expected Results:
Writer should keep the field formatting set before.

Reproducible: Always

User Profile Reset: Yes

Additional Info:
Check this file - open it and see formatting is fine, save it, reopen and see formatting is lost

I'm unable to copy information from About LibreOffice on mac, sorry.
Comment 1 dipyalov 2020-06-22 13:19:15 UTC
Created attachment 162307 [details]
Document to reproduce the bug
Comment 2 dipyalov 2020-06-22 13:51:13 UTC
This bug is not reproducible with 7.0 beta2

Build ID: 1c213561a365b5666167321de68c9977500c9612
CPU threads: 12; OS: Mac OS X 10.15.5; UI render: default; VCL: osx
Locale: en-US (en_RU.UTF-8); UI: en-US
Calc: threaded
Comment 3 Dieter 2020-06-24 05:49:29 UTC
Sound like a duplicate of bug 133459, which is fixed in master. Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/ ? You can install it alongside the standard version. I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build
Comment 4 Maxim Monastirsky 2020-06-24 07:28:37 UTC
Yes, this is a duplicate.

*** This bug has been marked as a duplicate of bug 133459 ***