Gabriel Orstadius-Bui created NIFI-16577:
--------------------------------------------
Summary: Component Bundle Changed has incorrect componentId and
processGroupId
Key: NIFI-16577
URL: https://issues.apache.org/jira/browse/NIFI-16577
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Affects Versions: 2.12.0
Reporter: Gabriel Orstadius-Bui
How to reproduce
# Have a versioned PG with a processor of a type which has multiple nar
versions currently available on the system. Commit all local changes.
# Change the version of the processor to another nar version.
# Load the Local Changes. The processor's version change has produced a Local
Change of the type "Component Bundle Changed" (not Environmental).
# However, this Local Change has {*}no processGroupId{*}, and a componentId
equivalent to the PG's verisioningId.
Expected behaviour:
The Local Change should have the same processGroupId and componentId as any
other normal change made to the processor.
* The local change should have the processGroupId of the versioned PG's Id
(i.e. the local Id, not the PG's versioningId).
* The local change should have the componentId of the Processor's Id.
In addition, I would expect each further version change (e.g. of another
Processor of the same type, making the same version switch) to produce an
additional Local Change (in an entirely different ComponentDifferenceDTO).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)