Commit b1bb6a5e authored by Eteri's avatar Eteri

always create new status configuration only for DUO LR sensors, to correctly...

always create new status configuration only for DUO LR sensors, to correctly find corresponding data array
parent 1acf88bb
......@@ -142,11 +142,15 @@ for movement in portal_catalog(query=query):
if item_type in portal.getPortalDeviceConfigurationTypeList() + portal.getPortalDataConfigurationTypeList():
item = portal.portal_catalog.getResultValue(
portal_type=item_type,
#validation_state="validated",
item_project_relative_url=delivery.getDestinationProject(),
item_source_relative_url=delivery.getSource())
if item_type == "Status Configuration" and transformation_line.getResourceReference() == "DUO-LR-ARRAY":
item = None
else:
item = portal.portal_catalog.getResultValue(
portal_type=item_type,
#validation_state="validated",
item_project_relative_url=delivery.getDestinationProject(),
item_source_relative_url=delivery.getSource())
elif item_type != "Data Array Line":
......
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