Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3303 by nlasso...@landmarkglobal.com: PySVN integration broken in Review Board 2.0 RC2 - 1 line code fix included
http://code.google.com/p/reviewboard/issues/detail?id=3303

*** READ THIS BEFORE POSTING!
***
*** You must complete this form in its entirety, or your bug report will be
rejected.
***
*** For customer support, please post to reviewbo...@googlegroups.com
***
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** Do not post confidential information in this bug report!


What version are you running?

2.0 RC2


What's the URL of the page containing the problem?

First found at /admin/db/scmtools/repository/add/, but it's everywhere


What steps will reproduce the problem?
1. Install a system with Review Board 2.0 RC2
2. Install pysvn and not subvertpy
3. Try to interact with Subversion

What is the expected output? What do you see instead?

I expect Review Board to work. Instead, I see "Authentication Failed" errors

What operating system are you using? What browser?

CentOS 6

Please provide any additional information below.

I dug into the problem and found that the user name and password is not being passed to pysvn.

Editing:

/usr/lib/python2.6/site-packages/ReviewBoard-2.0rc2-py2.6.egg/reviewboard/scmtools/svn/__init__.py

Around line 300, is the line:

client = Client(config_dir, repopath)

This creates a new PySVN client with no credentials. Changing it to:

client = Client(config_dir, repopath, username, password)

Solves the problem.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to