This is an automated email from the ASF dual-hosted git repository.

turcsanyi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 5be2cd73e6 NIFI-13932 Calling super #migrateProperty in 
JsonRecordSetWriter
5be2cd73e6 is described below

commit 5be2cd73e68cf2feaa640887a59119634edaff39
Author: Bence Simon <[email protected]>
AuthorDate: Fri Oct 25 15:43:33 2024 +0200

    NIFI-13932 Calling super #migrateProperty in JsonRecordSetWriter
    
    This closes #9448.
    
    Signed-off-by: Peter Turcsanyi <[email protected]>
---
 .../src/main/java/org/apache/nifi/json/JsonRecordSetWriter.java         | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/nifi-extension-bundles/nifi-standard-services/nifi-record-serialization-services-bundle/nifi-record-serialization-services/src/main/java/org/apache/nifi/json/JsonRecordSetWriter.java
 
b/nifi-extension-bundles/nifi-standard-services/nifi-record-serialization-services-bundle/nifi-record-serialization-services/src/main/java/org/apache/nifi/json/JsonRecordSetWriter.java
index e425ff233d..41d9b2d7cc 100644
--- 
a/nifi-extension-bundles/nifi-standard-services/nifi-record-serialization-services-bundle/nifi-record-serialization-services/src/main/java/org/apache/nifi/json/JsonRecordSetWriter.java
+++ 
b/nifi-extension-bundles/nifi-standard-services/nifi-record-serialization-services-bundle/nifi-record-serialization-services/src/main/java/org/apache/nifi/json/JsonRecordSetWriter.java
@@ -149,6 +149,8 @@ public class JsonRecordSetWriter extends 
DateTimeTextRecordSetWriter implements
 
     @Override
     public void migrateProperties(final PropertyConfiguration 
propertyConfiguration) {
+        super.migrateProperties(propertyConfiguration);
+
         // We added the ALLOW_SCIENTIFIC_NOTATION property with a default of 
'false'. However, we don't want to change the behavior
         // of existing services. So we migrate existing services to use a 
value of 'true' to maintain backward compatibility.
         if 
(!propertyConfiguration.hasProperty(ALLOW_SCIENTIFIC_NOTATION.getName())) {

Reply via email to