Rahul Kumar created NIFI-14213:
----------------------------------

             Summary: 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
         Attachments: image-2025-01-31-18-10-15-231.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.
 # *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