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

New issue 1017 by manjunath.shiva: Site URL in forms.py should be CharField  
not URL type
http://code.google.com/p/reviewboard/issues/detail?id=1017

*NOTE: Do not post confidential information in this bug report.*

What's the URL of the page containing the problem?
Email link which has a link to see the diff had the problem

What steps will reproduce the problem?
1. Go to the General settings for Review Board.
2. For the site URL, give your hostname without .com ( ex: http://sped64 )
3. It fails to accept as it is not a valid URL

What is the expected output? What do you see instead?
It should accept. I have been using Review Board on Windows host and site
URL is http://sped64.

What operating system are you using? What browser?
Windows 2003 on x64 platform. IE 6.

Please provide any additional information below.

server should be of type CharField insted of URL. After modifying, it
worked for me.

server = forms.CharField(  # URL Field has been replaced with CharField
         label=_("Server"),
         help_text=_("The URL of this Review Board server. This should not "
                     "contain the subdirectory Review Board is installed
in."),
         widget=forms.TextInput(attrs={'size': '30'}))

The problem what I was facing is the diff URL generated in the email.
I was getting  http://sped64/spea/r/23/diff  instead  of
http://sped64/r/23/diff. To fix this problem I need to update the Site URL
from http://sped64/spea to http://sped64 but I could not able to do that
due to forms type is URL. After changing it to forms.CharField, it worked
and correct URL is generated in the Email.




--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to