Scan with no body fails with 500
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MagnetoDB |
Triaged
|
Low
|
Unassigned |
Bug Description
No body in scan request.
Actual error code: 500
Expected: 400
The stack-trace is:
2015-02-20 15:50:50.180 8739 ERROR magnetodb.
() takes exactly 5 arguments (4 given)
Traceback (most recent call last):
File "/home/
return req.get_
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/home/
response = req.get_
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/home/
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/local/
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 "/home/
action_result = self.execute_
File "/home/
return self.dispatch(
File "/home/
return method(*args, **kwargs)
File "/home/
return f(self, *args, **kwargs)
File "/home/
return f(*args, **kwargs)
TypeError: scan() takes exactly 5 arguments (4 given)
Changed in magnetodb: | |
status: | Incomplete → Triaged |
importance: | Undecided → Medium |
summary: |
- Scan with no body fails. + Scan with no body fails with 500 |
Add request please, is body empty or absent?