Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.9.0, 1.9.1
-
None
Description
steps to reproduce:
There is attached XML template for a flow. It contains:
- Root PG
- variable named my_id in the variable registry
- an updateattribute processor that references my_id
- a nested process group
- overrides my_id in its variable registry
- an update attribute processor that references my_id
- load the template into a clean nifi
- start up the 2 updateattribute processors
- open the root PG's variable registry and attempt to change the value of variable named my_id
- itll show only 1 processor references it, which is correct.
- the update request will incorrectly fail as it resolves the updateattribute processor in the nested processgroup as referencing the my_id variable in the root pg, even though it is actually referencing the overridden my_id in the nested PG where it is provisioned
In the update request, the first steps succeed:
{"description": "Identifying components affected","complete": true}, {"description": "Stopping affected Processors","complete": true},
But the affectedComponents section of the update-request only shows 1 processor which is correct. The "Applying Updates" step of the update fails and the error message references the uuid of the processor in the nested PG which is referencing the overridden value.
Attachments
Attachments
Issue Links
- causes
-
NIFI-6879 Variable Update Error when trying to change outside variable used inside a Process Group
- Resolved
- links to