Issue 81379 - asterisk in template name causes open dialog to fail
Summary: asterisk in template name causes open dialog to fail
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 2.3.0 RC1
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-07 22:29 UTC by Joe Smith
Modified: 2013-02-07 21:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
files disappear from the FilePicker dialog (79.95 KB, image/png)
2008-02-03 18:00 UTC, ghazishahryar
no flags Details
Files stay as it is (105.30 KB, image/png)
2008-02-03 18:01 UTC, ghazishahryar
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Joe Smith 2007-09-07 22:29:55 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
Comment 1 michael.ruess 2007-09-10 08:50:13 UTC
Framework issue.
Comment 2 Olaf Felka 2007-09-10 10:10:46 UTC
Please add some informations: What Linux distribution are you using? What
filepicker is your OOo using: The native OOo filepicker, the Gnome filepicker?
Comment 3 Joe Smith 2007-09-10 14:42:20 UTC
> 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.
Comment 4 jlynx 2008-01-26 16:49:09 UTC
same behavior
OOo 2.3.1 Pro
OpenSUSE 10.3
Comment 5 kpalagin 2008-01-26 17:19:17 UTC
Confirming as per jlynx.
Comment 6 ghazishahryar 2008-02-03 18:00:28 UTC
Created attachment 51336 [details]
files disappear from the FilePicker dialog
Comment 7 ghazishahryar 2008-02-03 18:01:37 UTC
Created attachment 51337 [details]
Files stay as it is
Comment 8 ghazishahryar 2008-02-03 18:02:05 UTC
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.