Commit 356d43d1 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_crm: missing default_ on catalog searches for aggregate_uid.

parent 05e00d7c
......@@ -22,7 +22,7 @@ support_request_in_progress = portal.portal_catalog.getResultValue(
portal_type = 'Support Request',
title = title,
simulation_state = ["validated", "submitted", "suspended"],
aggregate_uid = aggregate_value.getUid(),
default_aggregate_uid = aggregate_value.getUid(),
)
if support_request_in_progress is not None:
......
......@@ -2858,7 +2858,7 @@ class TestSlapOSComputer_CheckState(testSlapOSMixin):
portal_type = 'Support Request',
title = request_title,
simulation_state = 'validated',
aggregate_uid = computer_uid
default_aggregate_uid = computer_uid
)
return support_request
......@@ -3046,7 +3046,7 @@ class TestSlapOSHostingSubscription_createSupportRequestEvent(testSlapOSMixin):
support_request = self.portal.portal_catalog.getResultValue(
portal_type = 'Support Request',
simulation_state = "validated",
aggregate_uid = hosting_suscription_uid
default_aggregate_uid = hosting_suscription_uid
)
return support_request
......
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