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 23654 - Mounted filesystem persist after switching projects
Summary: Mounted filesystem persist after switching projects
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-17 09:31 UTC by Marian Mirilovic
Modified: 2008-12-22 18:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed hotfix patch (1.36 KB, patch)
2002-05-20 10:50 UTC, David Strupl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2002-05-17 09:31:01 UTC
[nb_dev](20020517), [jdk1.4](fcs)

Steps to reproduce:
- run IDE in MDI
- create new project
-> none filesystem mounted - right
- switch to Default Project
- switch to NewProject
-> filesystem <examples> mounted
Comment 1 Marian Mirilovic 2002-05-17 11:13:52 UTC
reassigne to David S.
Comment 2 Milan Kubec 2002-05-17 12:43:06 UTC
If you work with only Default project and one newly created project
all filesystems (folders, jar files) mounted in one project (either
default or new) are inherited in the other project after you switch
projects, but in *different order*.

After creating new project it had no filesystems, but then I started
switching between that project and prevously created (already had some
filesys mounted) one and with each switch one more filesystem was
added to the new project. 

Any new mounted filesystem (folder, jar) in one project is inherited
in right next switched project but not next switched folders.
Comment 3 David Strupl 2002-05-17 12:51:20 UTC
After switching the projects back and forth Filesystems --> Customize
does not work at all! Tested on dev20020517 and JDK1.4 final.
Comment 4 Marian Mirilovic 2002-05-17 13:44:13 UTC
It works fine in the [nb_dev](20020509), [jdk1.4](fcs) , but it
doesn't in [nb_dev](20020514, 20020516).

P1 - because storage of mounted filesystem is the basic funcionality
of IDE
Comment 5 David Strupl 2002-05-17 14:23:16 UTC
I suspect there are two problems:

1. after commit to NewProjectAction 1.30 (2002/05/13) sample dir works
rather eratically

2. something even more wierd happened after commit 2002/05/16 17.32
(jpokorsky) - after switching projects the filesystems are kept in the
repository even after the project switch.
Comment 6 Marian Mirilovic 2002-05-17 14:32:28 UTC
For the forst one I have filed new sepparate issue 23696 "Filesystem
<sampledir> isn't visible in Explorer after switching projects back to
Default".
Comment 7 David Strupl 2002-05-20 10:50:32 UTC
Created attachment 5852 [details]
Proposed hotfix patch
Comment 8 David Strupl 2002-05-20 10:55:46 UTC
The hotfix patch was created by Yarda (on my computer). Yarda say:
"Leave it for Honza to create a proper fix". So - I will apply the
hotfix to branch QBExxx for the Q-build and reassign to Honza.
Comment 9 David Strupl 2002-05-20 11:20:00 UTC
Patch applied to QBE200205170100. Reassigning to Honza to find a
better fix.
Comment 10 Jan Pokorsky 2002-05-21 13:03:53 UTC
The fix is correct. Settings convertors make possible to solve that in 
better way since nb3.4.

http://core.netbeans.org/source/browse/core/settings/src/org/netbeans/
modules/settings/convertors/SerialDataConvertor.java.diff?r1=1.2&r2=1.
3

http://core.netbeans.org/source/browse/core/src/org/netbeans/core/proj
ects/SerialDataConvertor.java.diff?r1=1.2&r2=1.3
Comment 11 Marian Mirilovic 2002-05-24 08:22:03 UTC
verified in [nb_dev](20020524)
Comment 12 Quality Engineering 2003-07-01 16:41:38 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.