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

New issue 2033 by philipp....@gmail.com: System is broken after clicking save in "File Storage"
http://code.google.com/p/reviewboard/issues/detail?id=2033

I think this issue is critical because you can destroy Review Board installation with just one click :-(

* NOTE: Do not post confidential information in this bug report. *
*       If you need immediate support, please contact            *
*       reviewbo...@googlegroups.com                             *

What version are you running?
1.5.4

What's the URL of the page containing the problem?
https://reviewboard.netviewer-it.net/admin/settings/storage/

What steps will reproduce the problem?
1. Go to Settings / File Storage
2. Do not change anything. "host file system" is active.
3. Just click save.


What is the expected output? What do you see instead?
Expected: System continues to work as before.
Problem: Installation is corrupted. Error 500 on all pages. Login not possible any longer.

What operating system are you using? What browser?
Debian 6. Chrome.

Please provide any additional information below.
I found out that the database is changed when clicking on save. This change leads to error log below. I attached the diff of the database.

Here's a log.

Django] Error (EXTERNAL IP): /

Traceback (most recent call last):

File "/usr/local/lib/python2.6/dist-packages/Django-1.2.5-py2.6.egg/django/core/handlers/base.py", line 80, in get_response
   response = middleware_method(request)

File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4-py2.6.egg/reviewboard/admin/middleware.py", line 22, in process_request
   load_site_config()

File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4-py2.6.egg/reviewboard/admin/siteconfig.py", line 251, in load_site_config
   settings.AWS_CALLING_FORMAT = int(siteconfig.get('aws_calling_format'))

ValueError: invalid literal for int() with base 10: ''


<ModPythonRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'csrftoken': '9fd73e490bbc7deb4080213e36bc89f7',
'rbsessionid': '276be5afe69fbdcd0e9c6d42de8e9bd0'},
META:{'AUTH_TYPE': None,
'CONTENT_LENGTH': 0,
'CONTENT_TYPE': None,
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, */*',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'de-DE',
'HTTP_CONNECTION': 'Keep-Alive',
'HTTP_COOKIE': 'rbsessionid=276be5afe69fbdcd0e9c6d42de8e9bd0; csrftoken=9fd73e490bbc7deb4080213e36bc89f7',
'HTTP_HOST': 'reviewboard.netviewer-it.net',
'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)',
'PATH_INFO': u'/',
'PATH_TRANSLATED': None,
'QUERY_STRING': None,
'REMOTE_ADDR': '10.10.1.89',
'REMOTE_HOST': None,
'REMOTE_IDENT': None,
'REMOTE_USER': None,
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': '',
'SERVER_NAME': 'reviewboard.netviewer-it.net',
'SERVER_PORT': 443,
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'mod_python'}>


Attachments:
        diff_good_and_bad.txt  5.8 KB

--
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