Handle going from location=None to unset and back in prototype, as per #2005
This commit is contained in:
parent
bea61b289e
commit
8c44766c0a
5 changed files with 59 additions and 34 deletions
|
|
@ -2294,7 +2294,8 @@ def node_apply_diff(caller, **kwargs):
|
|||
if not custom_location:
|
||||
diff.pop("location", None)
|
||||
|
||||
txt, options = _format_diff_text_and_options(diff, objects=update_objects, base_obj=base_obj)
|
||||
txt, options = _format_diff_text_and_options(diff, objects=update_objects,
|
||||
base_obj=base_obj, prototype=prototype)
|
||||
|
||||
if options:
|
||||
text = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue