Commit 5ce11a22 authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Levin Zimmermann

Progress Indicator should not be reused across data movements

parent 253ceb97
......@@ -158,8 +158,13 @@ for movement in portal_catalog(query = query):
):
item = None
if item_type in portal.getPortalDeviceConfigurationTypeList() + portal.getPortalDataConfigurationTypeList():
if item_type != "Status Configuration":
if any(
(
item_type in portal.getPortalDeviceConfigurationTypeList() + portal.getPortalDataConfigurationTypeList(),
item_type == "Progress Indicator"
)
):
if item_type not in ("Status Configuration", "Progress Indicator"):
item = portal.portal_catalog.getResultValue(
portal_type=item_type,
#validation_state="validated",
......
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