[ 
https://issues.apache.org/jira/browse/NIFI-14213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18127830#comment-18127830
 ] 

Rahul Kumar commented on NIFI-14213:
------------------------------------

Hi [~asand3r] , no, 1.28.1 is still affected. The issue was originally found on 
1.26.0 and is fixed in 2.3.0. What I meant is that I applied the fix from main 
onto 1.28.1 and tested it, and it resolves the problem there. So the fix should 
backport cleanly to the 1.x line. As discussed back in February, the committers 
planned to cherry-pick it. Happy to help with a backport PR or more testing if 
needed.

> 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
>            Assignee: Rahul Kumar
>            Priority: Major
>             Fix For: 2.3.0
>
>         Attachments: Process Group Direct Deploy Version 2.png, Process Group 
> Version 1 Deploy.png, Process Group Version Upgrade  1 to 2.png
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to