NIFI-15331 Fix Script Engine property name migration from 2.7.0#10634
Merged
dan-s1 merged 1 commit intoapache:mainfrom Dec 11, 2025
Merged
NIFI-15331 Fix Script Engine property name migration from 2.7.0#10634dan-s1 merged 1 commit intoapache:mainfrom
dan-s1 merged 1 commit intoapache:mainfrom
Conversation
- Adjusted ScriptingComponentHelper.migrateProperties to check for a configured Script Engine value and prefer that value instead of preferring Script Language value
pvillard31
approved these changes
Dec 11, 2025
Contributor
pvillard31
left a comment
There was a problem hiding this comment.
LGTM, thanks @exceptionfactory - @dan-s1 feel free to merge if you're happy with it
dan-s1
approved these changes
Dec 11, 2025
Contributor
There was a problem hiding this comment.
LGTM +1. I reviewed the code, built it and it solved the issue I had reported. Thanks @exceptionfactory for the quick fix!
mark-bathori
pushed a commit
to mark-bathori/nifi
that referenced
this pull request
Feb 5, 2026
…ache#10634) Signed-off-by: Daniel Stieglitz <dstieg1@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
NIFI-15331 Corrects property name migration for scripting components when upgrading from NiFi 2.7.0 with a configured value for the
Script Engineproperty.Changes implemented for NIFI-15317 addressed scenarios when upgrading from NiFi 2.6.0 or earlier, and when upgrading from NiFi 2.7.0 after setting a corrected value, but did not address the scenario where the interim property name remained uncorrected.
Additional updates modify
ScriptingComponentHelper.migrateProperties()to check for a configured value ofScript Engineand remove theScript Languageproperty. New tests for that method and representative referencing components verify the expected behavior.Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking
Pull Request Tracking
NIFI-00000NIFI-00000Pull Request Formatting
mainbranchVerification
Please indicate the verification steps performed prior to pull request creation.
Build
./mvnw clean install -P contrib-checkLicensing
LICENSEandNOTICEfilesDocumentation