martinzink commented on code in PR #2241:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2241#discussion_r3756383138
##########
libminifi/src/core/flow/StructuredConfiguration.cpp:
##########
@@ -384,6 +381,8 @@ void StructuredConfiguration::parseProcessorNode(const
Node& processors_node, co
// handle processor properties
if (Node propertiesNode = procNode[schema_.processor_properties]) {
parsePropertiesNode(propertiesNode, *processor, procCfg.name,
parentGroup->getParameterContext());
+ } else {
+ validateComponentProperties(*processor, procCfg.name, "");
Review Comment:
This fixes [MINIFICPP-2884 Omitting Properties entierly skips component
validation](https://issues.apache.org/jira/browse/MINIFICPP-2884)
--
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]