You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2023/10/19 08:33:00 UTC
[jira] [Updated] (NIFI-12244) UpdateRecord invalid because of migrateProperties
[ https://issues.apache.org/jira/browse/NIFI-12244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre Villard updated NIFI-12244:
----------------------------------
Description:
Following [NIFI-12139|https://github.com/apache/nifi/commit/abfc49e21268ac75228ea4a08161b107bdf5b132], my UpdateRecord processors, after a NiFi restart are all invalid and showing
!Screenshot 2023-10-18 at 23.15.37.png!
Following a discussion with [~markap14] it's related to
{code:java}
@Override
public void migrateProperties(final PropertyConfiguration config) {
config.renameProperty("replacement-value-strategy", REPLACEMENT_VALUE_STRATEGY.getName());
}{code}
That should call {{super.migrateProperties(config);}}
was:
Following [NIFI-12139|https://github.com/apache/nifi/commit/abfc49e21268ac75228ea4a08161b107bdf5b132], my UpdateRecord processors, after a NiFi restart are all invalid and showing
!Screenshot 2023-10-18 at 23.15.37.png!
Following a discussion with [~markap14] it's related to
@Override
public void migrateProperties(final PropertyConfiguration config) \{
config.renameProperty("replacement-value-strategy", REPLACEMENT_VALUE_STRATEGY.getName());
}
That should call {{super.migrateProperties(config);}}
> UpdateRecord invalid because of migrateProperties
> -------------------------------------------------
>
> Key: NIFI-12244
> URL: https://issues.apache.org/jira/browse/NIFI-12244
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Pierre Villard
> Priority: Major
> Fix For: 2.0.0
>
> Attachments: Screenshot 2023-10-18 at 23.15.37.png
>
>
> Following [NIFI-12139|https://github.com/apache/nifi/commit/abfc49e21268ac75228ea4a08161b107bdf5b132], my UpdateRecord processors, after a NiFi restart are all invalid and showing
> !Screenshot 2023-10-18 at 23.15.37.png!
> Following a discussion with [~markap14] it's related to
> {code:java}
> @Override
> public void migrateProperties(final PropertyConfiguration config) {
> config.renameProperty("replacement-value-strategy", REPLACEMENT_VALUE_STRATEGY.getName());
> }{code}
> That should call {{super.migrateProperties(config);}}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)