1611: Unable to log in after visit and save admin/db/siteconfig/siteconfiguration/*/

Jan.Ko*******@gmai***** (Google Code) (Is this you? Claim this profile.)
chipx86
chipx86
June 17, 2011
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.
david
#1 david
  • +Component-Admin
chipx86
#2 chipx86
Assuming this has since been dealt with. In 1.6, you can't edit the text on this page.
  • +Fixed
  • +chipx86