This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 21003 - use of special symbols during node renaming can cause closing of source editor
Summary: use of special symbols during node renaming can cause closing of source editor
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 3.x
Hardware: PC All
: P4 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-28 13:28 UTC by Sergey Soldatov
Modified: 2008-12-22 16:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
proposed patch (841 bytes, patch)
2002-07-09 11:36 UTC, Petr Hrebejk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Soldatov 2002-02-28 13:28:18 UTC
Reproducible on Windows 2000 and Solaris 8, build  020225_1.
Open Source Editor for a node from explorer (for example README) and rename it 
to "/README" or "\README". Node in Explorer will not be changed but in Source 
Editor's title new name will appear for few seconds and after that editor 
window will be closed without any exception.
Comment 1 Petr Hrebejk 2002-07-09 11:33:27 UTC
Looks like a bug in Filesystems. AbstractFileObject.rename( ... ) 
should not allow to rename to names containing "/".
Comment 2 Petr Hrebejk 2002-07-09 11:36:33 UTC
Created attachment 6571 [details]
proposed patch
Comment 3 rmatous 2002-07-09 13:59:13 UTC
Fixed in trunk according to proposed patch with tiny change.
Comment 4 pzajac 2002-10-18 15:05:45 UTC
verified in 200210180100
Comment 5 pzajac 2002-11-06 13:40:52 UTC
bug contains patch.
Comment 6 Jesse Glick 2002-11-30 20:28:24 UTC
Was this fixed in the release34 branch or not? Please either change
the target milestone to 4.0, or remove the 3.4.1_CANDIDATE keyword,
according to the answer.
Comment 7 Quality Engineering 2003-07-01 16:34:58 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.