[
https://issues.apache.org/jira/browse/NIFI-14438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
endzeit updated NIFI-14438:
---------------------------
Description:
The standard implementation of {{ProcessContext}}, {{StandardProcessContext}},
should be adjusted so that calls to {{getProperty}} return {{null}}, when
attempting to retrieve the value of a property whose dependencies are not
satisfied.
To UI users properties with unsatisfied dependencies do not seem to exists.
Returning {{null}} here aligns with the behaviour seen when calling those
functions for non-existing properties.
While this ensures that problems as outlined in NIFI-14400 can be prevented,
this may break existing implementation and thus should only be integrated after
NIFI-14437 has been in place for longer periods of time and as part of a major
release most likely.
was:TODO
> StandardProcessContext.getProperty returns null for properties with
> unsatisfied dependencies
> --------------------------------------------------------------------------------------------
>
> Key: NIFI-14438
> URL: https://issues.apache.org/jira/browse/NIFI-14438
> Project: Apache NiFi
> Issue Type: Sub-task
> Reporter: endzeit
> Priority: Major
>
> The standard implementation of {{ProcessContext}},
> {{StandardProcessContext}}, should be adjusted so that calls to
> {{getProperty}} return {{null}}, when attempting to retrieve the value of a
> property whose dependencies are not satisfied.
> To UI users properties with unsatisfied dependencies do not seem to exists.
> Returning {{null}} here aligns with the behaviour seen when calling those
> functions for non-existing properties.
> While this ensures that problems as outlined in NIFI-14400 can be prevented,
> this may break existing implementation and thus should only be integrated
> after NIFI-14437 has been in place for longer periods of time and as part of
> a major release most likely.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)