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 85008 - Subversion proxy settings not discoverable
Summary: Subversion proxy settings not discoverable
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2006-09-15 15:51 UTC by Petr Jiricka
Modified: 2006-09-27 16:10 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 Petr Jiricka 2006-09-15 15:51:59 UTC
When working with Subversion, setting the proxy correctly is required. It is not
clear how to set the proxy for Subversion in NetBeans. The only way to do it I
found is to do 

1. Go to Subversion -> Checkout
2. Fill in a http URL
3. Press the Proxy Configuration button, set proxy and press OK
4. Continue in the wizard (pressing Cancel does not help, the settings are not
remembered)

This is too heavyweight if I already have a SVN repository on my hard drive,
mount it in the Favorites tab and just want to do an update. There should be an
easier and more discoverable way to set the proxy.
Comment 1 Tomas Stupka 2006-09-15 17:22:19 UTC
fixed in trunk 

Checking in client/SvnClientExceptionHandler.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/SvnClientExceptionHandler.java,v
 <--  SvnClientExceptionHandler.java
new revision: 1.26; previous revision: 1.25
done
Checking in client/SvnClientFactory.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/SvnClientFactory.java,v
 <--  SvnClientFactory.java
new revision: 1.26; previous revision: 1.25
done
Checking in client/SvnClientInvocationHandler.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/SvnClientInvocationHandler.java,v
 <--  SvnClientInvocationHandler.java
new revision: 1.38; previous revision: 1.37
done
Checking in Subversion.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/Subversion.java,v  <--
 Subversion.java
new revision: 1.59; previous revision: 1.58
done
Checking in config/SvnConfigFiles.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/config/SvnConfigFiles.java,v
 <--  SvnConfigFiles.java
new revision: 1.33; previous revision: 1.32
done
Checking in ui/wizards/repositorystep/RepositoryStep.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/ui/wizards/repositorystep/RepositoryStep.java,v
 <--  RepositoryStep.java
new revision: 1.28; previous revision: 1.27
done

should also be done for 5.5
Comment 2 Petr Jiricka 2006-09-18 13:30:25 UTC
I tried again in trunk build 20060917, and I must say I did not notice any
difference. How is the behavior different? It is still hard to discover how to
set proxy settings.
Comment 3 Tomas Stupka 2006-09-18 14:47:58 UTC
unfortunately, there is more to the issue.
- the proxydescriptor can't detect the correct setting for the requested host in
case there is only a [global] section specifying the proxy for all urls.

- the problem manifests only when runing over https and the svn module tries to
get a certificate from the server by directly opening a ssl socket. as already
said, this happens without a correct proxy and an exception appears.
Comment 4 Tomas Stupka 2006-09-18 15:01:05 UTC
fixed in trunk 

Checking in SvnConfigFiles.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/config/SvnConfigFiles.java,v
 <--  SvnConfigFiles.java
new revision: 1.34; previous revision: 1.33
done
Comment 5 Tomas Stupka 2006-09-19 14:43:43 UTC
should be also fixed for 5.5 
Comment 6 Maros Sandor 2006-09-20 10:36:41 UTC
Reviewed, the hotfix seems ok to me.
Comment 7 Tomas Stupka 2006-09-20 16:46:06 UTC
merged in 5.5
tomorrow should be the new module available from the update center

Checking in client/SvnClientExceptionHandler.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/SvnClientExceptionHandler.java,v
 <--  SvnClientExceptionHandler.java
new revision: 1.11.4.14; previous revision: 1.11.4.13
done
Checking in client/SvnClientInvocationHandler.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/SvnClientInvocationHandler.java,v
 <--  SvnClientInvocationHandler.java
new revision: 1.31.4.7; previous revision: 1.31.4.6
done
Checking in client/SvnClientFactory.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/SvnClientFactory.java,v
 <--  SvnClientFactory.java
new revision: 1.22.4.5; previous revision: 1.22.4.4
done
Checking in ui/wizards/repositorystep/RepositoryStep.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/ui/wizards/repositorystep/RepositoryStep.java,v
 <--  RepositoryStep.java
new revision: 1.22.4.5; previous revision: 1.22.4.4
done
Checking in config/SvnConfigFiles.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/config/SvnConfigFiles.java,v
 <--  SvnConfigFiles.java
new revision: 1.26.4.6; previous revision: 1.26.4.5
done
Checking in Subversion.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/Subversion.java,v  <--
 Subversion.java
new revision: 1.45.4.11; previous revision: 1.45.4.10
done
Comment 8 Martin Schovanek 2006-09-26 17:00:54 UTC
Please, can a QE member verify the fix in latest relase55 build and mark this
issue as verified?
Comment 9 Peter Pis 2006-09-27 16:10:27 UTC
Verified in release55.