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

exceptionfactory 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 a1a00a3346 NIFI-15512 Added Parameter Context Validation for 
synchronous updates (#10840)
a1a00a3346 is described below

commit a1a00a3346ebe0f1e7cd48f15cd180817242dfc2
Author: Pierre Villard <[email protected]>
AuthorDate: Mon Feb 2 22:56:41 2026 +0100

    NIFI-15512 Added Parameter Context Validation for synchronous updates 
(#10840)
    
    Signed-off-by: David Handermann <[email protected]>
---
 .../main/java/org/apache/nifi/web/api/ParameterContextResource.java    | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ParameterContextResource.java
 
b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ParameterContextResource.java
index 072c9949a1..ee1ea418cd 100644
--- 
a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ParameterContextResource.java
+++ 
b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ParameterContextResource.java
@@ -325,6 +325,9 @@ public class ParameterContextResource extends 
AbstractParameterResource {
             throw new IllegalArgumentException("The Revision of the Parameter 
Context must be specified.");
         }
 
+        validateParameterNames(updateDto);
+        validateAssetReferences(updateDto);
+
         // Perform the request
         if (isReplicateRequest()) {
             return replicate(HttpMethod.PUT, requestEntity);

Reply via email to