Issue 97381 - Insert a new Hyperlink document with illegal character, OOo crashes after applying
Summary: Insert a new Hyperlink document with illegal character, OOo crashes after app...
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: DEV300m37
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 84292
  Show dependency tree
 
Reported: 2008-12-18 06:57 UTC by amy2008
Modified: 2013-01-29 21:52 UTC (History)
3 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 amy2008 2008-12-18 06:57:05 UTC
Can reproduce it in Writer Calc Drawing etc. with DEV300m37 on WinXP Ubuntu and 
Fedora.

How to reproduce it 
1 Create a new Writer document (or Calc, Drawing and so on)
2 Insert - HyperLink, HyperLink dialog appears, select 'New Document', 'Edit
  now', slect a path to locate the new link document, then enter some illegal
  characters as the new document name, then hit 'Apply' button
4 Firstly Close HyepLink dialog, secondly click 'OK' on OOo-Dev3.1 dialog, 
  please obey the operate order

Result
After step 3, hyperlink is inserted before or at the same time of 'Apply'
After step 4, OOo crashes

Expectation
After step3, hyperlink shouldn't be inserted. The most important is to check
the name of new document if it is legal, insert hyperlink; if not, rename it 
until the new document name is a legal one, insert hyperlink.
After step4, 'Hyperlink' dialog should be inactive. User just can close 
HyepLink dialog after they click 'OK' on OOo-Dev3.1 dialog.

Regards
Li Meiying
Comment 1 amy2008 2008-12-18 07:34:25 UTC
Please pay attention to this one.

Can reproduce it in Writer Calc Drawing etc. with DEV300m37 on WinXP Ubuntu and 
Fedora.

How to reproduce it 
1 Create a new Writer document (or Calc, Drawing and so on)
2 Insert - HyperLink, HyperLink dialog appears, select 'New Document', 'Edit
  now', slect a path to locate the new link document, then enter some illegal
  characters as the new document name
3 Specify the file type for the new document, e.g. 'Text Document', then 
  click 'Apply' button
4 Firstly Close HyepLink dialog, secondly click 'OK' on OOo-Dev3.1 dialog, 
  please obey the operate order

Result
After step 3, hyperlink is inserted before or at the same time of 'Apply'
After step 4, OOo crashes

Expectation
After step3, hyperlink shouldn't be inserted. The most important is to check
the name of new document if it is legal, insert hyperlink; if not, rename it 
until the new document name is a legal one, insert hyperlink.
After step4, 'Hyperlink' dialog should be inactive. User just can close 
HyepLink dialog after they click 'OK' on OOo-Dev3.1 dialog.

Regards
Li Meiying