error_list.append(state_change['object'].Base_translateString("Error: Project contains active measurement position(s). It can not be invalidated, suspended or deleted."))
raiseValidationFailed,error_list
fordata_ingestionindata_ingestion_set:
ifdata_ingestion.getSimulationState()!="started":
ifdata_ingestion.getSimulationState()!="deleted":
data_ingestion.delete()
else:
error_list.append(state_change['object'].Base_translateString("Error: Project contains active measurement position(s). It can not be invalidated, suspended or deleted."))