Merge "Ensure _get_changed_synthetic_fields() return updatable fields"

This commit is contained in:
Zuul 2018-03-12 07:59:41 +00:00 committed by Gerrit Code Review
commit 3da1630001

View File

@ -691,6 +691,7 @@ class NeutronDbObject(NeutronObject):
def _get_changed_synthetic_fields(self):
fields = self.obj_get_changes()
fields = get_updatable_fields(self, fields)
for field in self._get_changed_persistent_fields():
if field in fields:
del fields[field]