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 - Entering "actions.impl" for new Folder appears to create a properties file instead of a folder
Summary: Entering "actions.impl" for new Folder appears to create a properties file in...
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2004-01-24 00:20 UTC by _ tboudreau
Modified: 2004-08-13 12:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
patch (633 bytes, patch)
2004-03-09 14:26 UTC, Marian Petras
Details | Diff

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