Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
When making use of PropertyConfiguration.hasProperty(String) or PropertyConfiguration.hasProperty(PropertyDescriptor), the method always returns true if the property is defined in the component evaluating it - even when the property did not exist in the previous build.
Before calling migrateProperties we apply the configuration to the Processor/Controller Service/Reporting Task. We then create the PropertyConfiguration based on that. So, if the property descriptor is defined in the new version, hasProperty will return true, even if it was not in the properties of the previous version of the component.
Attachments
Issue Links
- causes
-
NIFI-12339 Sensitive Dynamic Properties not properly decrypted, resulting in wrong property value and ever-growing flow.json.gz
-
- Resolved
-
- links to