Commit 002561b6 authored by Romain Courteaud's avatar Romain Courteaud

slapos_subscription_request: do not prevent subscription change if there is a deleted instance

parent 7ea040e5
......@@ -143,6 +143,7 @@ if is_owner_change_needed:
existing_instance_tree = portal.portal_catalog.getResultValue(
portal_type='Instance Tree',
title={'query': subscribed_item.getTitle(), 'key': 'ExactMatch'},
validation_state='validated',
destination_section__uid=subscription_change_request.getDestinationUid()
)
if existing_instance_tree is not None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment