list_tables throws 500 error when passing in start_table_name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MagnetoDB |
Fix Released
|
High
|
Charles Wang |
Bug Description
Steps to reproduce:
1. create a few tables
2. invoke list_tables, you should see a list of tables
3. use one of the table name as "start_table_name" and invoke list_tables again
4. you will see 500 error
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = req.get_
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/local/
return resp(environ, start_response)
File "/usr/lib/
response = self.app(environ, start_response)
File "/usr/local/
return resp(environ, start_response)
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/opt/stack/
action_result = self.execute_
File "/opt/stack/
return self.dispatch(
File "/opt/stack/
return method(*args, **kwargs)
File "/opt/stack/
return f(*args, **kwargs)
File "/opt/stack/
validation.
File "/opt/stack/
unexpected_
File "/usr/lib/
return _default_
File "/usr/lib/
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/
return _iterencode(o, 0)
File "/usr/lib/
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: MultiDict(
2014-10-16 14:53:05.460 3345 INFO magnetodb.
192.168.33.1 - - [16/Oct/2014 14:53:05] "GET /v1/6542e7a7502
Changed in magnetodb: | |
milestone: | none → kilo-1 |
tags: | added: ux |
Changed in magnetodb: | |
importance: | Undecided → High |
Changed in magnetodb: | |
assignee: | nobody → Charles Wang (charles-wang) |
Changed in magnetodb: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/129387 /git.openstack. org/cgit/ stackforge/ magnetodb/ commit/ ?id=5724b25ead6 771d16b99eca7ea 0dcc6b4f6ffdc8
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5724b25ead6771d 16b99eca7ea0dcc 6b4f6ffdc8
Author: Charles Wang <email address hidden>
Date: Fri Oct 17 17:22:42 2014 -0400
Fix validation error handling and doc on list_tables
DocImpact 0e4cea5209c342a 5f7a5c87056
Closes-Bug: #1382088
Change-Id: I3e55d6cd606a10