[
https://issues.apache.org/jira/browse/NIFI-14213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rahul Kumar updated NIFI-14213:
-------------------------------
Description:
I encountered an issue while upgrading a versioned Process Group in Apache NiFi.
* *Initial Deployment (Version 1):*
** Deployed *Version 1* of the Process Group.
** It had an *Inherited Parameter Context* configured.
* !image-2025-01-31-18-13-57-152.png!
* *Upgrade to Version 2:*
** Created *Version 2* of the Process Group with an additional {*}Inherited
Parameter Context{*}.
** Upon upgrading the deployed Process Group to {*}Version 2{*}, the new
*Inherited Parameter Context* was *not attached* automatically.
* !image-2025-01-31-18-14-15-745.png!
* *Direct Deployment of Version 2:*
** When I deployed *Version 2* as a fresh Process Group (instead of
upgrading), it correctly included *all inherited Parameter Contexts* (both from
Version 1 and the new ones from Version 2).
* !image-2025-01-31-18-14-32-730.png!
h3. *Expected Behavior:*
When upgrading a Process Group to a new version, all newly introduced
*Inherited Parameter Contexts* should be automatically attached, similar to how
they are attached when deploying the same version directly.
was:
I encountered an issue while upgrading a versioned Process Group in Apache NiFi.
# *Initial Deployment (Version 1):*
** Deployed *Version 1* of the Process Group.
** It had an *Inherited Parameter Context* configured.
# *Upgrade to Version 2:*
** Created *Version 2* of the Process Group with an additional {*}Inherited
Parameter Context{*}.
** Upon upgrading the deployed Process Group to {*}Version 2{*}, the new
*Inherited Parameter Context* was *not attached* automatically.
# *Direct Deployment of Version 2:*
** When I deployed *Version 2* as a fresh Process Group (instead of
upgrading), it correctly included *all inherited Parameter Contexts* (both from
Version 1 and the new ones from Version 2).
h3. *Expected Behavior:*
When upgrading a Process Group to a new version, all newly introduced
*Inherited Parameter Contexts* should be automatically attached, similar to how
they are attached when deploying the same version directly.
> Inherited Parameter Context Not Retained When Upgrading Process Group Version
> -----------------------------------------------------------------------------
>
> Key: NIFI-14213
> URL: https://issues.apache.org/jira/browse/NIFI-14213
> Project: Apache NiFi
> Issue Type: Bug
> Components: Flow Versioning, NiFi Registry
> Affects Versions: 1.26.0
> Reporter: Rahul Kumar
> Priority: Major
> Attachments: image-2025-01-31-18-13-57-152.png,
> image-2025-01-31-18-14-15-745.png, image-2025-01-31-18-14-32-730.png
>
>
> I encountered an issue while upgrading a versioned Process Group in Apache
> NiFi.
> * *Initial Deployment (Version 1):*
> ** Deployed *Version 1* of the Process Group.
> ** It had an *Inherited Parameter Context* configured.
> * !image-2025-01-31-18-13-57-152.png!
> * *Upgrade to Version 2:*
> ** Created *Version 2* of the Process Group with an additional {*}Inherited
> Parameter Context{*}.
> ** Upon upgrading the deployed Process Group to {*}Version 2{*}, the new
> *Inherited Parameter Context* was *not attached* automatically.
> * !image-2025-01-31-18-14-15-745.png!
> * *Direct Deployment of Version 2:*
> ** When I deployed *Version 2* as a fresh Process Group (instead of
> upgrading), it correctly included *all inherited Parameter Contexts* (both
> from Version 1 and the new ones from Version 2).
> * !image-2025-01-31-18-14-32-730.png!
> h3. *Expected Behavior:*
> When upgrading a Process Group to a new version, all newly introduced
> *Inherited Parameter Contexts* should be automatically attached, similar to
> how they are attached when deploying the same version directly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)