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 205353 - FileObj.refresh() does not convert to FolderObj
Summary: FileObj.refresh() does not convert to FolderObj
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 7.1
Hardware: Other Linux
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-21 12:45 UTC by Jaroslav Tulach
Modified: 2011-12-17 16:47 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 Jaroslav Tulach 2011-11-21 12:45:06 UTC
Simple refresh() on a masterfs FileObject representing a file does not detect that the file has meanwhile been converted to folder. One needs to refresh its parent.

The test is 
http://netbeans.org/bugzilla/attachment.cgi?id=113366
added as attachment to bug 204242
Comment 1 Jaroslav Tulach 2011-12-15 12:29:03 UTC
ergonomics#5102608ef33b
Comment 2 Quality Engineering 2011-12-17 16:47:21 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/5102608ef33b
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #205353: Deeper refresh to notice change in state of file/folder