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 34667 - New folder with default name is not working properly
Summary: New folder with default name is not working properly
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-27 12:21 UTC by Jan Kovar
Modified: 2008-12-23 10:33 UTC (History)
0 users

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 Jan Kovar 2003-06-27 12:21:23 UTC
Try this:
1. Create new folder accepting default name
2. Go to the same place as before and try again create new 
folder accepting default name.

It should create new folder with name like Folder_1 but it 
will not do anything
Comment 1 pzajac 2003-06-30 09:06:49 UTC
reassigned to openide/wizard. 
Comment 2 Jiri Rechtacek 2003-07-31 16:52:01 UTC
Eval: responsible for folder creating is
DataFolder.createFromTemplate() => reassigning to datasystems.
Comment 3 David Konecny 2003-08-04 15:17:54 UTC
Jiri, I disagree. I think that behaviour should be the same as if you
typed "Folder" instead of "<default name>". And if you type "Folder"
the Finish button is disabled and you get error "The file Folder
already exists."
Comment 4 Jiri Rechtacek 2003-08-11 16:40:28 UTC
Davide, DataFolder should consistently handle
the method createFromTemplate(<target folder>, null (as default name))
as other templates Main Class. ...)
Comment 5 David Konecny 2003-08-12 16:31:03 UTC
Fixed in:
Checking in src/org/openide/loaders/DataFolder.java
new revision: 1.9; previous revision: 1.8
Comment 6 Marian Mirilovic 2003-09-05 10:22:43 UTC
verified in [nb_dev](20030904)