Skip to content

Commit

Permalink
NIFI-13932 Calling super #migrateProperty in JsonRecordSetWriter
Browse files Browse the repository at this point in the history
This closes #9448.

Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
  • Loading branch information
simonbence authored and turcsanyip committed Oct 25, 2024
1 parent efb1093 commit 5be2cd7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ protected List<PropertyDescriptor> getSupportedPropertyDescriptors() {

@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())) {
Expand Down

0 comments on commit 5be2cd7

Please sign in to comment.