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 39194

Summary: Entering "actions.impl" for new Folder appears to create a properties file instead of a folder
Product: utilities Reporter: _ tboudreau <tboudreau>
Component: PropertiesAssignee: Marian Petras <mpetras>
Status: RESOLVED FIXED    
Severity: blocker Keywords: SIMPLEFIX
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: patch

Description _ tboudreau 2004-01-24 00:20:24 UTC
Open the New | Folder over some directory (in my case, 
"org/netbeans").  I meant to click Java Package and didn't 
notice.

Type "actions.impl" and click Finish.

A Properties file icon appears in explorer.  When you try to 
open it, an exception is thrown - it really did create a 
folder, but somehow the Properties DataLoader grabs it.  
Seems to happen for any folder name ending in ".impl".
Comment 1 _ tboudreau 2004-01-24 00:22:50 UTC
Refiling on the Properties module - I can't reproduce this for any other file type, so 
presumably their loader simply doesn't check to see if it's looking at a file or a folder.  
Though I have no idea what ".impl" means to the Properties module.
Comment 2 Marian Petras 2004-03-09 10:18:17 UTC
Confirmed.

One can reproduce the wrong behaviour both with .properties and .impl
files. The bug is in DataLoader for properties files.
Comment 3 Marian Petras 2004-03-09 14:26:15 UTC
Created attachment 13900 [details]
patch
Comment 4 Marian Petras 2004-03-11 15:26:10 UTC
Fixed in the trunk.