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 22038 - Rename allows relative paths to be specified
Summary: Rename allows relative paths to be specified
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2002-04-03 02:52 UTC by David-john Burrowes
Modified: 2008-12-22 22:38 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David-john Burrowes 2002-04-03 02:52:41 UTC
The "Rename" command in the contextual menu of nodes in the Filesystems view 
allows one to specify a relative path... which has the effect of both moving and 
renaming the file.   This should only do renames, and not allow moving of files.
Comment 1 Jiri Rechtacek 2002-05-20 15:01:56 UTC
Assigning to data systems.
Comment 2 phamernik 2002-06-12 15:30:53 UTC
This is not a bug. I know some File Managers that allows this feature.

In my opinion both options are possible and I am not sure what is more
"standard".

I need an opinion from UI team.
Comment 3 Marek Grummich 2002-07-22 11:28:05 UTC
Set target milestone to TBD
Comment 4 Marek Grummich 2002-07-22 11:29:56 UTC
Set target milestone to TBD
Comment 5 Marian Mirilovic 2003-03-13 13:43:12 UTC
Changed owner David S. -> David K.
Comment 6 Jaroslav Tulach 2005-01-25 07:37:56 UTC
cvs -q ci -m "#22038: Test that ensures that the default
implementation of rename does not allow ../name or subdir/name to be
used and throws an exception"
Checking in src/org/openide/loaders/BasicDataObjectTest.java;
/cvs/openide/test/unit/src/org/openide/loaders/BasicDataObjectTest.java,v
 <--  BasicDataObjectTest.java
new revision: 1.9; previous revision: 1.8