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 21144 - Some obscure Web module (filesystem) is still mounted after switching projects
Summary: Some obscure Web module (filesystem) is still mounted after switching projects
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-04 16:56 UTC by Marian Mirilovic
Modified: 2008-12-23 13:49 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Explorer (with Web FS) + Customizer (without its) (20.88 KB, image/gif)
2002-03-04 16:58 UTC, Marian Mirilovic
Details
Patch (diff) for release33 branch (312 bytes, patch)
2002-03-07 12:58 UTC, David Strupl
Details | Diff
Binary patch for core for release33 (11.07 KB, application/octet-stream)
2002-03-07 12:59 UTC, David Strupl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2002-03-04 16:56:13 UTC
[nb_dev](20020304), [jdk1.4](92)

Steps to reproduce:
- mount own directory XXXXX
- push Tools | Convert Filesystem into Web module
- create new project (Project | Project Manager | New : "MyProject")
-> filesystem XXXX is mounted (is visible in Explorer - Filesystems)
- invoke Filesystems | Customizer
-> filesystem XXXX isn't present !!! (screen shot)

I am not sure this is web module issue. Feel free to reassigne.
Comment 1 Marian Mirilovic 2002-03-04 16:58:08 UTC
Created attachment 4924 [details]
Explorer (with Web FS) + Customizer (without its)
Comment 2 _ rkubacki 2002-03-05 12:48:57 UTC
The same can be reproduced with FFJ4.0 build running on JDK1.3.1. The
functionality is not affected and if you start to work with this FS it
appears in Filesystem Customize window too. 

Can it be problem in node refreshing? If that's right I would lower
the priority.
Comment 3 David Strupl 2002-03-05 17:21:46 UTC
I am able to reproduce the problem without web module. Script
demonstrates the problem:

import org.openide.filesystems.*;
r = Repository.getDefault();

f1 = new LocalFileSystem();
f1.setRootDirectory(new java.io.File("/tmp/t1"))

f2 = new LocalFileSystem();
f2.setRootDirectory(new java.io.File("/tmp/t2"))

r.addFileSystem(f1);

// wait for a while

r.removeFileSystem(f1);
r.addFileSystem(f1);
r.addFileSystem(f2);

// switch projects and f1 is still mounted

AutomountSupport stores a reference to f1 in sticky variable.
Comment 4 David Strupl 2002-03-07 12:28:13 UTC
Fixed in AutomountSupport 1.43.
Comment 5 David Strupl 2002-03-07 12:58:35 UTC
Created attachment 4980 [details]
Patch (diff) for release33 branch
Comment 6 David Strupl 2002-03-07 12:59:32 UTC
Created attachment 4981 [details]
Binary patch for core for release33
Comment 7 Marian Mirilovic 2002-03-08 11:06:32 UTC
verified in [nb_dev](20020308)
Comment 8 David Strupl 2002-03-20 11:03:33 UTC
Please approve integration into orion_fcs branch.
Comment 9 Jan Chalupa 2002-03-20 11:14:20 UTC
Approved by QA.
Comment 10 Petr Jiricka 2002-03-20 13:25:30 UTC
Approved.
Comment 11 David Strupl 2002-03-20 17:16:47 UTC
Integrated into orion_fcs branch.
Comment 12 Marian Mirilovic 2002-04-02 09:44:32 UTC
verified in [orion_CE](20020401) && [jdk1.3.1](03)/[jdk1.4](fcs)
Comment 13 Quality Engineering 2003-07-01 16:24:25 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.