Issue 66160 - rename autotext category doesn't work if name has a space
Summary: rename autotext category doesn't work if name has a space
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 2.0.3
Hardware: PC Windows XP
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-06 12:37 UTC by Regina Henschel
Modified: 2017-05-20 11:15 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2006-06-06 12:37:51 UTC
Preparing the test:
1. Edit > Autotext… > Categories…
2. Type in category name, which has no space, for example "testcategory", choose
proper path
3. Click button 'New' and then 'OK'
4. Close dialog
5. Mark part of the text document
6. Edit > Autotext…
7. Click on the category "testcategory"
8. Type in name and shortcut for the new autotext, Click on drop-down 'AutoText'
and there on entry 'New'. Close dialog.
9. Proof your new autotext. It should work.
10. Make a copy of the generated 'testcategory.bau' file.

Reproducing the error:
11. Edit > Autotext… > Categories…
12. Click on category 'testcategory'
13. Enter new name 'test category' and choose the same path as before.
14. Now the button 'Rename' is enabled, click it. You see the new name in the
list. Close dialog with OK.
15. Notice, the category list has got the new name 'test category', but the
category is empty.
16. Close dialog
17. Edit > Autotext…
18. Notice, now you have two entries 'test category'. Both are empty.

Take a file explorer to see what has happend.
You have got a file 'test category.bau' which is an empty autotext file and in
addition a file 'text%20category.bau' which is your old autotext file, whithout
any changies but the file name. You can verify this, if you unpack it.

Doing the same with a new category name without space, works as expected.
Comment 1 michael.ruess 2006-06-06 13:22:34 UTC
Reassigned to SBA.
Comment 2 kpalagin 2006-11-25 17:06:54 UTC
kpalagin: Yep, perfectly reproducible with OO 2.0.4 on Win XP.
Comment 3 stefan.baltzer 2006-12-01 16:39:54 UTC
SBA: Reassigned to OS.
Comment 4 Martin Hollmichel 2007-09-10 13:36:37 UTC
move target to 3.x according http://wiki.services.openoffice.org/wiki/Target_3x
Comment 5 Marcus 2017-05-20 11:15:29 UTC
Reset assigne to the default "issues@openoffice.apache.org".