[
https://issues.apache.org/jira/browse/NIFI-15785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18072610#comment-18072610
]
ASF subversion and git services commented on NIFI-15785:
--------------------------------------------------------
Commit 87e65dbbe81b1ba6a1921bd542dbd5db5f56ab19 in nifi's branch
refs/heads/dependabot/npm_and_yarn/nifi-frontend/src/main/frontend/hono-4.12.12
from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=87e65dbbe81 ]
NIFI-15785 Update Parameter and Parameter Context descriptions on versioned
flow upgrades (#11096)
Signed-off-by: David Handermann <[email protected]>
> 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
> Fix For: 2.10.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)