update non-existing item with return_values "ALL_OLD" fails with 500
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MagnetoDB |
Fix Released
|
Medium
|
Andrii Ostapenko |
Bug Description
If you update non existing item with return_values "ALL_OLD" you will get 500 error
Server side:
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 "/opt/stack/
action_result = self.execute_
File "/opt/stack/
return self.dispatch(
File "/opt/stack/
return method(*args, **kwargs)
File "/opt/stack/
return f(self, *args, **kwargs)
File "/opt/stack/
return f(*args, **kwargs)
File "/opt/stack/
parser.
File "/opt/stack/
for (attr_name, attr_value) in item_attributes
AttributeError: 'NoneType' object has no attribute 'iteritems
Changed in magnetodb: | |
assignee: | nobody → Andrei V. Ostapenko (aostapenko) |
Changed in magnetodb: | |
milestone: | none → kilo-2 |
importance: | Undecided → Medium |
Changed in magnetodb: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/151377
Review: https:/