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

New issue 1611 by Jan.Koprowski: Unable to log in after visit and save admin/db/siteconfig/siteconfiguration/*/
http://code.google.com/p/reviewboard/issues/detail?id=1611

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

What version are you running?
ReviewBoard 1.5.x beta2 - dev (master)


What's the URL of the page containing the problem?
/account/login

What steps will reproduce the problem?
1. Try log in

What is the expected output? What do you see instead?
User log in. Instead of that login ongoing forever and never end.

Cause is error (in apache log):
-----------------------------------------
WARNING:root:JSONField decode error. Expected dictionary, got string for
input '{u'mail_host_password': u'', u'cache_backend':
u'memcached://localhost:11211/', [---- cut ----], u'/media/',
u'site_admin_name': u'admin', u'couchdb_storage_options': {}}'

This is cause when You save site admin/db/siteconfig/siteconfiguration/*/.
Then field "Settings" in SQLite3 appear be string and is save in database
as "{ dict content }" (with quotes) and this is the problem.

How to fix it?
-----------------------------------------
For example with using SQLiteSpy program. Open database. Get access to
"siteconfig_siteconfiguration" table and edit 'settings' field content
removing quotes from the end and the begging.

What operating system are you using? What browser?


Please provide any additional information below.


--
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-iss...@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