Small issue with update operation in base.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Salvatore Orlando |
Bug Description
This expression:
https:/
Will build a field list with more fields than required. For instance, the 'status' field will always be broguht in.
This is a super-minor possibly irrelevant issue, but some plugins (well at least one) take a different path involving API calls to 3rd party backend when the 'status' field is passed in.
The fix is straightforward:
diff --git a/quantum/
index c8bbf42..df3d31b 100644
--- a/quantum/
+++ b/quantum/
@@ -461,8 +461,8 @@ class Controller(object):
# by the policy engine to the policy 'brain'
field_list = [name for (name, value) in self._attr_
- value['
- 'default' not in value)]
+ (value[
+ 'default' not in value))]
orig_obj = self._item(request, id, field_list=
Changed in neutron: | |
milestone: | havana-2 → havana-3 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | havana-3 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/34412
Review: https:/