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)
Version:
(earliest affected)
6.3.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: possibleRegression
Depends on:
Blocks: Templates
  Show dependency treegraph
 
Reported: 2020-12-13 14:19 UTC by sdc.blanco
Modified: 2020-12-26 16:51 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

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: 7.2.0.0.alpha0+ (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  6.3.6.2.

  - 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