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

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new 8d08409d0d fix: Use data view element id when removing charts from 
dashboard (#4019)
8d08409d0d is described below

commit 8d08409d0dd7884b47e1493cab07422319352dc7
Author: Philipp Zehnder <[email protected]>
AuthorDate: Thu Dec 4 14:23:04 2025 +0100

    fix: Use data view element id when removing charts from dashboard (#4019)
---
 .../resource/management/DataExplorerWidgetResourceManager.java          | 2 +-
 ui/cypress/support/utils/GeneralUtils.ts                                | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/streampipes-resource-management/src/main/java/org/apache/streampipes/resource/management/DataExplorerWidgetResourceManager.java
 
b/streampipes-resource-management/src/main/java/org/apache/streampipes/resource/management/DataExplorerWidgetResourceManager.java
index ebae391785..c2fb0a6a8b 100644
--- 
a/streampipes-resource-management/src/main/java/org/apache/streampipes/resource/management/DataExplorerWidgetResourceManager.java
+++ 
b/streampipes-resource-management/src/main/java/org/apache/streampipes/resource/management/DataExplorerWidgetResourceManager.java
@@ -39,7 +39,7 @@ public class DataExplorerWidgetResourceManager extends 
CrudResourceManager<DataE
 
   private void deleteDataViewsFromDashboard(String widgetElementId) {
     dashboardManager.findAll().stream()
-        .filter(dashboard -> dashboard.getWidgets().removeIf(w -> 
w.getId().equals(widgetElementId)))
+        .filter(dashboard -> dashboard.getWidgets().removeIf(w -> 
w.getDataViewElementId().equals(widgetElementId)))
         .forEach(dashboardManager::update);
   }
 }
diff --git a/ui/cypress/support/utils/GeneralUtils.ts 
b/ui/cypress/support/utils/GeneralUtils.ts
index 1012f4be22..893240022d 100644
--- a/ui/cypress/support/utils/GeneralUtils.ts
+++ b/ui/cypress/support/utils/GeneralUtils.ts
@@ -22,7 +22,6 @@ export class GeneralUtils {
     }
 
     public static openMenuForRow(rowText: string) {
-        cy.log('ROW TEXT', rowText);
         cy.contains('[role="row"], tr, mat-row', rowText) // be flexible on 
row element
             .scrollIntoView()
             .within(() => {

Reply via email to