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 30154

Summary: New wizard's Target Location panel displays Directory badly for treefs
Product: platform Reporter: Jesse Glick <jglick>
Component: Property EditorsAssignee: Jesse Glick <jglick>
Status: CLOSED FIXED    
Severity: blocker CC: issues, mihmax
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2003-01-15 23:03:16 UTC
Observed in r34 and 4.0 dev both.

Add the treefs module. Make a treefs mount; e.g.
"examples/ in /dev/shm/testme2/sampledir". Press
Ctrl-N. Select any template - Class, e.g. In the
2nd panel, click on "colorpicker" under "examples/
in /dev/shm/testme2/sampledir". "Directory" text
field shows ridiculous value:

examples/ in /dev/shm/testme2/sampledir/colorpicker

Clearly what it meant was

/dev/shm/testme2/sampledir/examples/colorpicker

The bug lies in DataFolderPanel.updateDirectory
which makes the poor assumption that
FileSystem.displayName is some kind of a disk path.

Have patch which works in [dev jan 15].
Comment 1 Jesse Glick 2003-01-16 16:38:42 UTC
committed     Up-To-Date  1.18       
core/src/org/netbeans/beaninfo/editors/DataFolderPanel.java
Comment 2 Marian Mirilovic 2004-08-17 08:41:00 UTC
verified/closed