You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Michael W Moser (Jira)" <ji...@apache.org> on 2023/10/16 22:12:00 UTC
[jira] [Created] (NIFI-12237) Label size does not update when changing version
Michael W Moser created NIFI-12237:
--------------------------------------
Summary: Label size does not update when changing version
Key: NIFI-12237
URL: https://issues.apache.org/jira/browse/NIFI-12237
Project: Apache NiFi
Issue Type: Bug
Affects Versions: 1.23.2, 1.22.0
Reporter: Michael W Moser
Assignee: Michael W Moser
* in a versioned PG containing a label, resize a label width and height. diff shows two "Position was changed" difference (one is width, the second is height)
* move the label. diff shows a third "Position was changed" (the actual position)
* commit local changes
* change version back one version. label moves but does not resize.
* PG still indicates local changes made. revert local changes does not work
* delete label. revert local changes now works. label now shows correct position and size
* if you change version forward one version, same thing happens
I think this behavior is because label height and width is considered a position, and NIFI-11473 changed that position differences are not included in "updatedVersionedComponentIds".
[https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/flow/synchronization/StandardVersionedComponentSynchronizer.java#L216]
[https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/flow/synchronization/StandardVersionedComponentSynchronizer.java#L908]
I propose to make label width and height a SIZE rather than a POSITION change.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)