https://bugs.freedesktop.org/show_bug.cgi?id=66860

          Priority: medium
            Bug ID: 66860
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: Importing templates cares too much about filename
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: nbow...@draconx.ca
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.1.0.1 rc
         Component: Writer
           Product: LibreOffice

Attempting to import a template using the "Import" button in the dialog from
"File -> New -> Templates" behaves badly if the filename does not end in
".ott".  Libreoffice will produce no error message whatsoever, but will
actually perform a copy of the file into

  ~/.config/libreoffice/4/user/templates

and will append a period to the file name if the filename does not currently
contain a period.  Despite the apparent successful import as no error messages
were produced, the result is that the imported template does not show up in
the dialog and cannot be used.  The badly-imported template, however, *does*
show up in the dialog that opens when you say "File -> Save As Template...",
which is a bit weird...

If the imported filename was 255 characters long, and did not contain a
period, libreoffice does not even successfully copy the file and still does
not produce any error message whatsoever.

Manually enaming the file in ~/.config/libreoffice/4/user/templates to end
with ".ott" after the fact appears to correct the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to