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

rfellows 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 9c7c9c2b12 NIFI-15014 allow advanced UpdateAttribute Rules to be 
searched even if missing Comments field such as when a processor was upgraded 
from prior to Comments being available (#10345)
9c7c9c2b12 is described below

commit 9c7c9c2b12145c94e59edec8b82120567015c251
Author: markobean <[email protected]>
AuthorDate: Mon Sep 29 10:13:56 2025 -0400

    NIFI-15014 allow advanced UpdateAttribute Rules to be searched even if 
missing Comments field such as when a processor was upgraded from prior to 
Comments being available (#10345)
    
    This closes #10345
---
 .../pages/update-attribute/ui/rule-listing/rule-listing.component.ts    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-frontend/src/main/frontend/apps/update-attribute/src/app/pages/update-attribute/ui/rule-listing/rule-listing.component.ts
 
b/nifi-frontend/src/main/frontend/apps/update-attribute/src/app/pages/update-attribute/ui/rule-listing/rule-listing.component.ts
index b6f205ade7..a0794877e7 100644
--- 
a/nifi-frontend/src/main/frontend/apps/update-attribute/src/app/pages/update-attribute/ui/rule-listing/rule-listing.component.ts
+++ 
b/nifi-frontend/src/main/frontend/apps/update-attribute/src/app/pages/update-attribute/ui/rule-listing/rule-listing.component.ts
@@ -163,7 +163,7 @@ export class RuleListing {
         return (
             rule.id.toLowerCase().includes(filterText) ||
             rule.name.toLowerCase().includes(filterText) ||
-            rule.comments.toLowerCase().includes(filterText) ||
+            (rule.comments ?? '').toLowerCase().includes(filterText) ||
             rule.conditions.some((condition) => 
this.conditionMatches(condition, filterText)) ||
             rule.actions.some((action) => this.actionMatches(action, 
filterText))
         );

Reply via email to