Apache OpenOffice (AOO) Bugzilla – Issue 81379
asterisk in template name causes open dialog to fail
Last modified: 2013-02-07 21:58:57 UTC
Saving a normal document is refused if the file name contains an asterisk or other illegal character. This check is bypassed when saving a template, and the resulting file cannot be opened by File > Template > Edit. Steps to reproduce: 1) File > New > Text Document 2) File > Templates > Save 3) Enter a template name containing an asterisk: A New Template *Updated* OK 4) Save and Close the document 5) File > Template > Edit Select the template just saved; the Open dialog will show "A New Template *Updated*.ott" as the file name. 6) Click the "Open" button; the file name changes to "A%20New%20Template%20*Updated*.ott" and the file is not opened The operation is prevented from being completed by this pathway. The template can be edited using File > Templates > Organize ... Command > Edit
Framework issue.
Please add some informations: What Linux distribution are you using? What filepicker is your OOo using: The native OOo filepicker, the Gnome filepicker?
> Please add some informations: ... Oops, sorry. I'm using OO.org packages on Fedora 7 (Gnome), with the default OOo file dialogs. If I switch to the (Gnome) system dialogs, the problem does not occur.
same behavior OOo 2.3.1 Pro OpenSUSE 10.3
Confirming as per jlynx.
Created attachment 51336 [details] files disappear from the FilePicker dialog
Created attachment 51337 [details] Files stay as it is
I was able to reproduce the same error in Xubuntu 7.10, using the steps provided in the first comment. One other thing that I found is that when I put a space in the template name (with asterisk '*') then in the FilePicker dialog all the filenames disappear. Whereas if I use an asterisk in the name w/o using space then all the filenames in the FilePicker dialog remain as it is. In both the cases, however, the template is not loaded by the app. Please see the attached screenshots.