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 16059 - Problem when deleting and recreating folder
Summary: Problem when deleting and recreating folder
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks: 16044
  Show dependency tree
 
Reported: 2001-10-01 13:54 UTC by mslama
Modified: 2008-12-22 19:50 UTC (History)
1 user (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 mslama 2001-10-01 13:54:28 UTC
When I delete folder and ther I recreate it files present in deleted folder are
present in newly created folder. (Perhaps hidden files should be created
recursively.)

Problem comes from XML workspace layout. I want to delete files from default XML
layer. When I create folder again files from previously deleted folder are
present in new folder.
Comment 1 mslama 2001-10-01 14:15:21 UTC
Workaround is not to delete folder and delete only files. However this
workaround is not possible in all possible scenarios in window system:
For example when user deletes some existing mode with components in
default XML layer and later creates new mode with the same name,
components from original mode will be present in new mode.
Comment 2 rmatous 2001-10-02 12:52:42 UTC
Fixed in trunk. After MFO.createFolder all children are made hidden.
Comment 3 mslama 2001-10-02 16:00:01 UTC
It works now as expected for XML workspace layout.

Suggested workaround is not suitable for us because folder is primary
file of our data object and we listen to changes on primary file. It
means that in our case we must delete folder too.
Comment 4 Quality Engineering 2003-07-01 16:17:31 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.