Bug 131544

Summary: Creating new document from template fails
Product: LibreOffice Online Reporter: Drew Jensen <drewjensen.inbox>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: info
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=120383
Whiteboard:
Crash report or crash signature: Regression By:

Description Drew Jensen 2020-03-24 16:55:06 UTC
Platform Ubuntu 18.04 w/chromium browser
TDF NC server
LOOLWSD 6.4
LOKit 6.4.1.2

Steps to reproduce:

Setup for template use
1 - create a folder My Templates in your private area
2 - Open the NextCloud settings page for your account
3 - Go to the LOOL section "which erroneously says Collabora when there"
4 - Enter My Templates in the box 'select a template directoy
5 - get out of the setup pages
6 - add one or more template files (I used one .ott and one .xltx)
7 - Start to create a new Document for either Writer or Calc
8 - After giving the new document a name the Template selection Window opens
9 - select one of the template files (not 'Blank')

Result
Error box with: "Failed to load the document. Please ensure the file is supported and not corrupted, and try again."

Expected
New document based on the template

Note: the new file is created but appears to be using the Blank template still.
Comment 1 Drew Jensen 2020-03-24 16:59:33 UTC
Also from open issue 120383 (also on templates sort of) it looked like perhaps LOOL might want a standard document instead of a template file - so I tried that also, but only actual templates are listed in the template picker window.
Comment 2 Drew Jensen 2020-03-24 20:16:34 UTC
Ah - seems the problem was a server configuration and not the LOOL software.

Resolving
Comment 3 info@joergschulz.de 2020-09-30 22:09:04 UTC
which server configuration has been needed to resolve this?
Comment 4 info@joergschulz.de 2020-12-05 22:09:00 UTC
compiling with --with-webdav=serf helps.