Bug 143872

Summary: Can't replace existing template
Product: LibreOffice Reporter: TorrAB
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, himajin100000
Priority: medium    
Version: 7.3.0.0 alpha0+   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 101435    

Description TorrAB 2021-08-14 14:18:37 UTC
Description:
	Trying to replace an existing template with a new one (of the same name), I get ‘Error importing…’. So, I rename the existing template and try again —successfully!
	The (very vague) error message should be replaced with something more specific and useful, such as ‘Template exists; replace it? Y/N’.


Steps to Reproduce:
1.~f m m, manage templates>import (from LO to LODev)
2.
3.

Actual Results:
error message ‘Error importing…’

Expected Results:
error message should be precise, and offer a choice.


Reproducible: Always


User Profile Reset: No



Additional Info:
It would be convenient to have common templates for LO and LODev.
Version: 7.3.0.0.alpha0+ (x86) / LibreOffice Community
Build ID: c820cb429fc3d3eec9bf6596f0a34995cbd93982
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: default; VCL: win
Locale: en-CA (en_US); UI: en-US
Calc: threaded
Comment 1 BogdanB 2021-08-14 14:25:38 UTC
Confirm with.
Importing 2 times the same template is not allowed, but the problem is that we don't get info about this, just an error.

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: c97bdca2d7abf30a99c45192b8f49c5bf76ca035
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded