Brendan created NIFI-10452:
------------------------------
Summary: Parameter Context [deleted values are restored when
version imports or changes are done]
Key: NIFI-10452
URL: https://issues.apache.org/jira/browse/NIFI-10452
Project: Apache NiFi
Issue Type: Bug
Environment: Apache NIFI v1.16.2
Reporter: Brendan
Experienced a behaviour on a implementation where some parameters in the
parameter context that were deleted are re-imported/added when you do an import
from registry
so for example lets say we have commited V90 to registry we did some work
deleted properties and then commit V91 with some deleted parameters
You then go to another env and import this V91 all the deleted parameters
import with new ones then you delete it on UAT and save that as V92 and you
update dev to V92 from V91 all the deleted parameters in DEV are restored again
and every time you change the version you need to re-delete all deleted
parameters etc.
So when new ones are added then they are automatically added to environments
you deploy to but deleted parameters dont stay deleted they just keep getting
readded back again, it seems.
As an added test I download the Flow Definition and imported it into a clean
instance of docker NiFi and it imported the entire history of parameters
including deleted ones past.
The expected outcome is once deleted and commited to registry or flow
definition download it will no longer have all the historical parameters in the
parameter context once deleted
The result is on each import I would have to remove these redundant parameters
to clean things up or just ignore them.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)