Bug 138877 - Should LibreOffice be giving a warning when a document is opened, but the template from which it was created is deleted?
Summary: Should LibreOffice be giving a warning when a document is opened, but the tem...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: possibleRegression
Depends on:
Blocks: Templates
  Show dependency treegraph
Reported: 2020-12-13 14:19 UTC by sdc.blanco
Modified: 2023-02-18 13:35 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description sdc.blanco 2020-12-13 14:19:49 UTC
In https://help.libreoffice.org/7.2/en-US/text/shared/01/01020000.html, it is written:

"If a document was created using a template that cannot be found a dialog is shown that asks you how to proceed next time the document is opened.

To break the link between the document and the missing template, click No, otherwise LibreOffice will look for the template the next time you open the document."

This does not seem to be the actual behavior in 7.2

Tested as follows:

1. Make a template.

2. Open document based on that template, save, and close.

3.  Delete template.

4. Open document again. 
(also, after restarting application)

Result:  No dialog boxes asking what to do.

Question:  Bug?  or should these two paragraphs be removed from the help page?

Tested with: 

Version: (x64)  (13. dec 2020)
Build ID: 368c56144aab5794c39d5bc2082d9b3d6d7cebdb
CPU threads: 8; OS: Windows 10.0 Build 19041; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_DK); UI: en-US
Calc: threaded
Comment 1 Heiko Tietze 2020-12-15 14:47:15 UTC
Don't get the dialog in 6.4 either. But I'm not aware of any change nor I would agree with dropping the warning of a missing template. Question to QA, whether this is a regression.
Comment 2 Heiko Tietze 2020-12-15 14:48:57 UTC
Double-check that the delete function from the context menu works. Didn't in my case, maybe, be hard delete with file browser makes no difference OTOH.
Comment 3 sdc.blanco 2020-12-20 08:49:25 UTC
No error message with

  - File-Properties-General shows (deleted) template name for document

  - Pathname for template in file’s metadata accurately reflects the path/filename for the deleted template, and I confirmed that template mentioned in document’s metadata was not in the specified directory. 

   - Using "delete" from context menu actually deletes file
Comment 4 BogdanB 2021-08-26 19:29:58 UTC
Also tested in 
Build ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk2; 
Locale: ro-RO (ro_RO.UTF-8); Calc: group

No message there when templete for that file is no more there.
Comment 5 raal 2023-02-18 13:35:21 UTC
No message in Version (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)