Bug 124079 - Fixed name and date fields are not updated in Draw templates
Summary: Fixed name and date fields are not updated in Draw templates
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Templates Fields
  Show dependency treegraph
 
Reported: 2019-03-14 14:17 UTC by joachim_liedtke
Modified: 2024-07-07 03:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Draw template with non-working fields (10.17 KB, application/vnd.oasis.opendocument.graphics-template)
2019-03-15 07:23 UTC, joachim_liedtke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joachim_liedtke 2019-03-14 14:17:57 UTC
Inserting fields like author or date (both the fixed variant) will be not be updated to the current author or creation date when the template is openend. Instead the fields will show the creator of the template and the date when the template was saved the first time.
Comment 1 mulla.tasanim 2019-03-15 02:57:33 UTC
Thank you for reporting the bug.
I have inserted date and author field fixed variant and its showing current date and Creator only.

I can not reproduce the bug in

Version: 6.2.1.2 (x64)
Build ID: 7bcb35dc3024a62dea0caee87020152d1ee96e71
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US





Version: 6.3.0.0.alpha0+ (x64)
Build ID: 91cdf22b88a4f7bec243c8fb187627e766d3294c
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-03-08_00:38:10
Locale: en-US (en_US); UI-Language: en-US
Comment 2 joachim_liedtke 2019-03-15 07:23:48 UTC
Created attachment 149985 [details]
Draw template with non-working fields

It does not work even in our 6.2.1.2 version. See attached otg. When you open the template the first name have to be yours, even time must be actual time.

Version: 6.2.1.2
Build-ID: 7bcb35dc3024a62dea0caee87020152d1ee96e71
CPU-Threads: 16; BS: Windows 6.1; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded
32bit
Comment 3 Wolfgang Jäger 2019-03-15 10:30:37 UTC
Concerning a "fix" Date field contained in a .otg template I can confirm for V6.2.0.3 that it NOT is updated as it would be in Writer if a new Draw document is created based on the template. The update should be expected, however. 

Concerning Comment #1 : There probably was a misunderstanding. 
The reporter expects the "fix" fields to be updated **only** in the case that the Draw template containing them was used to create a new Draw document (as 'Untitled 1' e.g.)

Using Writer templates a "fix" date contained in the template is updated to the current date for the "fix" field in the new 'Untitled 1' document. That's reasonable. I rely on this behaviour with my letter templates e.g. An update 'On Document Creation' should also be done for a "fix" Author field if any and probably for some additional types of fields for which it is appropriate. 

(Concerning the Author field I did not get offered a "fix" variant, and the ordinary filed **was* updated as expected if the template was used by a different author. I would judge the lack of a "fix" variant of the Author field as a kind of bug requiring an enhancement.)  

Setting to NEW
Comment 4 Buovjaga 2019-03-15 16:38:17 UTC
Problem is already in 4.3.0. In 3.5.0, the topmost time is 00:00:00. Tested on Windows.
Comment 5 QA Administrators 2021-03-15 04:21:20 UTC Comment hidden (obsolete)
Comment 6 joachim_liedtke 2021-03-17 13:49:00 UTC
The bug is not yet fixed. Tested with 7.10 Portable
Comment 7 QA Administrators 2024-07-07 03:15:28 UTC
Dear joachim_liedtke,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug