<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - [Regression] Error dialog when selecting File -> Templates -> Open Template on fresh profile"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=113306">113306</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Regression] Error dialog when selecting File -> Templates -> Open Template on fresh profile
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.0.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>miniopl@poczta.onet.pl
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When trying to open template on fresh profile, LibreOffice gives me error box
with message:

"/tmp/lo-test/user/template does not exist."

This happens on daily build of 6.0 from October 20 (Build ID:
c1d1f859b268f650143d48f294999cda0fa57350), but not on 5.4.1, hence regression
keyword

Steps to Reproduce:
1. Open LibreOffice on fresh profile: `libreofficedev6.0
-env:UserInstallation=file:///tmp/lo-test/`
2. Open any application with support for templates (e.g. Writer)
3. Select File -> Templates -> Open Template...

Actual Results:  
Dialog box with error message appears:

/tmp/lo-test/user/template does not exist.

Expected Results:
Error box does not appear.

Missing directory will be created automatically if I try to *save* template,
and I might want to open template I have received by email (i.e. one that is
not stored in LibreOffice config dir), so this dialog box does not give me any
actionable information.


Reproducible: Always

User Profile Reset: Yes

Additional Info:
Version: 6.0.0.0.alpha1
Build ID: c1d1f859b268f650143d48f294999cda0fa57350
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: kde4; 
Locale: pl-PL (pl_PL.UTF-8); Calc: group


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/61.0.3163.100 Safari/537.36</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>