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

Gabriel Orstadius-Bui updated NIFI-13682:
-----------------------------------------
    Description: 
How to reproduce:
 # In a versioned process group, create an empty label (without changing font 
or color or anything) and commit the change.
 # Add some text to the label and now commit that change.
 # Check-out the commit where the label was created.
 # Show local changes, you will see that there now suddenly is a change:  _From 
'{}' to '\{font-size=12px}'_
 # Reverting local changes does nothing, showing local changes will still list 
the unexpected local changes from step 4. I.e. it is not possible now to 
check-out the second commit.

In other words, it seems that when checking out a commit where an empty label 
was created, strange local changes are made which can't be reverted

  was:
How to reproduce:
 # In a versioned process group, create an empty label (without changing font 
or color or anything) and commit the change.
 # Add some text to the label and now commit that change.
 # Check-out the commit where the label was created.
 # Show local changes, you will see that there now suddenly is a change:  _From 
'{}' to '\{font-size=12px}'_
 # Reverting local changes does nothing, showing local changes will still list 
the unexpected local changes from step 4. I.e. not possible now check-out the 
second commit.

In other words, it seems that when checking out a commit where an empty label 
was created, strange local changes are made which can't be reverted


> Committing empty label leads to errors when changing version
> ------------------------------------------------------------
>
>                 Key: NIFI-13682
>                 URL: https://issues.apache.org/jira/browse/NIFI-13682
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Flow Versioning
>    Affects Versions: 2.0.0-M4
>            Reporter: Gabriel Orstadius-Bui
>            Priority: Major
>
> How to reproduce:
>  # In a versioned process group, create an empty label (without changing font 
> or color or anything) and commit the change.
>  # Add some text to the label and now commit that change.
>  # Check-out the commit where the label was created.
>  # Show local changes, you will see that there now suddenly is a change:  
> _From '{}' to '\{font-size=12px}'_
>  # Reverting local changes does nothing, showing local changes will still 
> list the unexpected local changes from step 4. I.e. it is not possible now to 
> check-out the second commit.
> In other words, it seems that when checking out a commit where an empty label 
> was created, strange local changes are made which can't be reverted



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

Reply via email to