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 52026 - VCS profile not persistent across sessions
Summary: VCS profile not persistent across sessions
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: RELNOTE
: 52057 52279 52357 52628 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-02 17:10 UTC by petumspossum
Modified: 2006-03-24 10:28 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 petumspossum 2004-12-02 17:10:44 UTC
NetBeans 4.0 RC1 partially imported my VSS 
profile from 4.0 beta 2.  However, a number of 
the settings in the profile were incorrect (e.g. 
user name not there, repository wrong).  
Corrected in Versioning Manager and was able to 
access the repository.  There is only a "close" 
option in the GUI, no "save" option.

Exited NetBeans and ran again.  Corrections I had 
made above were no longer there.

This worked in NetBeans 4.0 Beta 2.  That version 
had both a "save" and a "cancel" option in the 
Versioning Manager.  RC1 only has "close".
Comment 1 Martin Entlicher 2004-12-03 13:26:42 UTC
The Save/Cancel options do not have sense on Versioning Manager, since
the changes are intended to be saved immediately. The changes are
applied immediately.

I did not encounter problems with profile customization yet. I'll look
at it...
Comment 2 Peter Pis 2004-12-03 15:15:52 UTC
I've just tried to reproduce your problem and everything wokrs fine
for me. 
Comment 3 Martin Entlicher 2004-12-03 17:08:11 UTC
For me it also works O.K. So I suggest to close it as works for me
unless you can provide reliable steps how to reproduce it.

Did you do any modifications to the vss.xml profile? Did you edit the
set of commands or variables in Tools/Options?

When you remove the problematic VSS working directory from Versioning
Manager and add a new one, does the problem with persistence of the
settings occur again?
Comment 4 Peter Pis 2004-12-06 10:19:51 UTC
I think that issue 52057 is duplicate of this issue.
Comment 5 Martin Entlicher 2004-12-06 10:34:01 UTC
This is reproducible only when the import settings wizard is used from
4.0 beta2 to 4.0 RC1. When the same user dir is used (with "-userdir"
switch), the settings are O.K.
Comment 6 Martin Entlicher 2004-12-06 10:34:35 UTC
*** Issue 52057 has been marked as a duplicate of this issue. ***
Comment 7 petumspossum 2004-12-06 11:57:14 UTC
Agree that this seems to be a duplicate of 52057 with only the OS and 
versioning software changed.

Workaround was to create a new profile that has the desired 
settings.  This continues to work.  And yes, I did do an import 
settings from beta 2.

PJM
Comment 8 Martin Entlicher 2004-12-06 13:01:17 UTC
When there are no VCS filesystem settings, the items in Versioning
Manager are discarded:

/cvs/vcscore/src/org/netbeans/modules/vcscore/registry/FSInfo.java,v 
<--  FSInfo.java
new revision: 1.8; previous revision: 1.7

/cvs/vcscore/src/org/netbeans/modules/vcscore/registry/VcsFSProvider.java,v
 <--  VcsFSProvider.java
new revision: 1.7; previous revision: 1.6

/cvs/vcscore/src/org/netbeans/modules/vcscore/ui/fsmanager/VcsManager.java,v
 <--  VcsManager.java
new revision: 1.21; previous revision: 1.20

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/recognizer/CommandLineVcsFileSystemInfo.java,v
 <--  CommandLineVcsFileSystemInfo.java
new revision: 1.16; previous revision: 1.15

After this fix, no versioned directories are visible in Versioning
Manager when they are not imported by the import wizard.
Comment 9 Martin Entlicher 2004-12-10 13:10:55 UTC
Downgrading to P2 - there is an easy workaround - remove existing
versioned directories and add them again.

This should be added to the release notes however, since it's too late
to fix it in 4.0.
Comment 10 Martin Entlicher 2004-12-10 13:11:01 UTC
*** Issue 52279 has been marked as a duplicate of this issue. ***
Comment 11 Talley Mulligan 2004-12-10 15:38:15 UTC
added to fcs relnotes

as for the Save/Cancel options, if i'm not mistaken the user is
actually referring to the working directory customizer and while i see
your point about applying the altered settings immediately, one
advantage of the Save/Cancel approach (on the customizer) is that
users are provided visual feedback clarifying when their changes have
been applied - it could be as simple as having the Save button greyed
out when no changes have been made...
Comment 12 Martin Entlicher 2004-12-10 16:10:13 UTC
The Save/Cancel buttons were there by mistake in a few development
builds. In order to implement them correctly, we would have to make
severe changes in the customization process in order to track what was
actually changed.
Comment 13 Martin Entlicher 2004-12-14 10:08:44 UTC
*** Issue 52357 has been marked as a duplicate of this issue. ***
Comment 14 Martin Entlicher 2004-12-17 14:57:36 UTC
Merged into release40_fixes branch:

/cvs/vcscore/manifest.mf,v  <--  manifest.mf
new revision: 1.49.6.1.2.2; previous revision: 1.49.6.1.2.1

/cvs/vcscore/src/org/netbeans/modules/vcscore/registry/FSInfo.java,v 
<--  FSInfo.java
new revision: 1.7.8.1; previous revision: 1.7

/cvs/vcscore/src/org/netbeans/modules/vcscore/registry/VcsFSProvider.java,v
 <--  VcsFSProvider.java
new revision: 1.6.8.1; previous revision: 1.6

/cvs/vcscore/src/org/netbeans/modules/vcscore/ui/fsmanager/VcsManager.java,v
 <--  VcsManager.java
new revision: 1.20.8.1; previous revision: 1.20

/cvs/vcsgeneric/manifest.mf,v  <--  manifest.mf
new revision: 1.69.6.1.2.1; previous revision: 1.69.6.1

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/recognizer/CommandLineVcsFileSystemInfo.java,v
 <--  CommandLineVcsFileSystemInfo.java
new revision: 1.15.8.1; previous revision: 1.15
Comment 15 Martin Entlicher 2004-12-22 23:32:25 UTC
*** Issue 52628 has been marked as a duplicate of this issue. ***
Comment 16 Peter Pis 2005-07-22 09:57:18 UTC
Verified.