markap14 opened a new pull request, #11581:
URL: https://github.com/apache/nifi/pull/11581

   ## Summary
   - After inheriting a saved Connector configuration, apply the NAR's default 
for any property that has no persisted value.
   - This keeps a Connector valid across NAR upgrades that add a required 
property with a default, matching Processors, Controller Services, and 
Reporting Tasks.
   - Jira: https://issues.apache.org/jira/browse/NIFI-16242
   
   ## Test plan
   - [x] 
`TestStandardConnectorNode.testVerifyCanStartAfterInheritingConfigurationMissingRequiredPropertyWithDefault`
 inherits a saved step that omits a required property with a default, then 
asserts `verifyCanStart()` succeeds and the default is present
   - [x] Confirmed that test fails without the change (`Repeat Count is 
required`) and passes with it


-- 
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