lordgamez commented on code in PR #2041:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2041#discussion_r2401139743


##########
extensions/python/pythonprocessors/nifiapi/processorbase.py:
##########
@@ -54,8 +54,12 @@ def onInitialize(self, processor: Processor):
             self.supports_dynamic_properties = False
 
         for property in self.getPropertyDescriptors():
-            property_type_code = 
translateStandardValidatorToMiNiFiPropertype(property.validators)
             expression_language_supported = True if 
property.expressionLanguageScope != ExpressionLanguageScope.NONE else False
+            property_type_code = None
+
+            # MiNiFi C++ does not support validators for expression language 
enabled properties
+            if not expression_language_supported:
+                property_type_code = 
translateStandardValidatorToMiNiFiPropertype(property.validators)

Review Comment:
   Good point, updated in 
https://github.com/apache/nifi-minifi-cpp/pull/2041/commits/d91368332dce7ab3ec87027d3828466ee4e4491d



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to