Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Consider a Processor that has two properties, Property A and Property B. Property A is required and defaults to a value of "foo". Property B is required but depends on Property A being set to "foo" (i.e., Property B is required iff Property A is set to the value "foo").
When the Processor is created, Property A will have its default value, "foo". But Property B will be unset. The Processor is still considered valid, even though the required Property B is unset.
Attachments
Issue Links
- links to
Commit a675023b71fc8ffcb9bc2c73dd29abed7cd9f3c6 in nifi's branch refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=a675023 ]
NIFI-9272: When determining if Property dependency is satisfied, consider property default values alsoSigned-off-by: Joe Gresock <jgresock@gmail.com>
This closes #5432.