[ 
https://issues.apache.org/jira/browse/NIFI-15785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard updated NIFI-15785:
----------------------------------
    Status: Patch Available  (was: Open)

> Update parameter and parameter context descriptions during versioned flow 
> upgrade
> ---------------------------------------------------------------------------------
>
>                 Key: NIFI-15785
>                 URL: https://issues.apache.org/jira/browse/NIFI-15785
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Flow Versioning
>            Reporter: Pierre Villard
>            Assignee: Pierre Villard
>            Priority: Major
>
> When upgrading a versioned process group from version N to N+1, parameter 
> descriptions for existing parameters are silently dropped. The 
> {{addMissingConfiguration}} method in 
> {{StandardVersionedComponentSynchronizer}} skips any parameter that already 
> exists, meaning description-only changes are never applied. Similarly, 
> {{VersionedFlowSynchronizer.updateParameterContext}} only includes a 
> parameter in the update set when its value or asset references changed, 
> ignoring description differences entirely.
> This has two consequences:
>  # After upgrading from N to N+1, the parameter descriptions remains at their 
> version N values.
>  # If the user then makes changes and commits as version N+2, the stale 
> version N descriptions are written back to the registry, overwriting the 
> version N+1 descriptions.
> The same gap exists for the parameter context description itself (the 
> context-level description, not just per-parameter descriptions).



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

Reply via email to