Bug 131544 - Creating new document from template fails
Summary: Creating new document from template fails
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-24 16:55 UTC by Drew Jensen
Modified: 2020-12-05 22:09 UTC (History)
1 user (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 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.