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 - New wizard's Target Location panel displays Directory badly for treefs
Summary: New wizard's Target Location panel displays Directory badly for treefs
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Property Editors (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-15 23:03 UTC by Jesse Glick
Modified: 2008-12-22 22:50 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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