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 32363

Summary: If user adds a space after repository location, hard to diagnose error.
Product: obsolete Reporter: Daniel Blaukopf <blaukopf>
Component: vcsgenericAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: ENHANCEMENT Exception Reporter:

Description Daniel Blaukopf 2003-03-26 15:27:56 UTC
[Opening this issue under vcsgeneric because I
don't see an option for vcscvs)

Open the wizard for mounting a new CVS workspace. In 
the "CVS Connection Method" panel, enter correct
values for everything, but in the "Repository"
field, add a space after the correct reposity
location.

Continuing with the wizard (use built-in CVS
client), the CVS login fails:

Authentication failed. Response from server was:
"cvs [pserver aborted] descramble: unknown
scrambling method".

It is then hard to diagnose the problem, because
the root cause is in something invisible two
panels back.

It would be helpful if the UI trimmed the string
it receives from the user before passing it on.
Comment 1 Martin Entlicher 2003-03-26 15:37:51 UTC
> [Opening this issue under vcsgeneric because I don't see an option
> for vcscvs)

This is correct. vcscvs module is dead for several releases already.
vcsgeneric with cvs-profile sub-module is used instead.

You're right, that trim() should be applied on the wizard entries.
The wizard will likely be changed in NB 4.0, so I'll keep this in
mind.

PS.: It's too late to apply this to NB 3.5 :-( only severe bugs can be
fixed now.
Comment 2 Peter Pis 2005-05-01 18:17:33 UTC
Martine, I don't think that fix will be hard. TM to 4.2.