ignore empty update operations
This commit is contained in:
parent
76e12a94cf
commit
d329d1d411
1 changed files with 3 additions and 1 deletions
|
@ -610,7 +610,9 @@ class ChangedObjectCollection(BaseSchema):
|
||||||
else:
|
else:
|
||||||
new_situation.operations.append(new_operation)
|
new_situation.operations.append(new_operation)
|
||||||
else:
|
else:
|
||||||
new_situation.operations.append(new_operation)
|
if not (isinstance(new_operation, UpdateObjectOperation) and not new_operation.fields):
|
||||||
|
# we might have empty update operations, those can be ignored
|
||||||
|
new_situation.operations.append(new_operation)
|
||||||
|
|
||||||
new_situation.remaining_operations_with_dependencies.pop(i)
|
new_situation.remaining_operations_with_dependencies.pop(i)
|
||||||
new_situation.remaining_operations_with_dependencies.extend(new_remaining_operations)
|
new_situation.remaining_operations_with_dependencies.extend(new_remaining_operations)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue