[PR #3192] CB-5999 fix: don't see changes when change connection view #3926

Closed
opened 2026-03-07 21:15:58 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/dbeaver/cloudbeaver/pull/3192

State: closed
Merged: No


The root of this problem for flat files connections is in the fact that on the top level of a connection, we get the same node when change connection view. That's why we don't go deeper, when use refreshNode and children remain their previous state. I didn't find a way to detect this case somehow based on results of queries, so I just used refreshTree method for changing connection view, which updates all the children.

https://github.com/user-attachments/assets/55705dd9-6b7d-492e-8891-f3e0b0471d50

**Original Pull Request:** https://github.com/dbeaver/cloudbeaver/pull/3192 **State:** closed **Merged:** No --- The root of this problem for flat files connections is in the fact that on the top level of a connection, we get the same node when change connection view. That's why we don't go deeper, when use refreshNode and children remain their previous state. I didn't find a way to detect this case somehow based on results of queries, so I just used refreshTree method for changing connection view, which updates all the children. https://github.com/user-attachments/assets/55705dd9-6b7d-492e-8891-f3e0b0471d50
kerem 2026-03-07 21:15:58 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudbeaver#3926
No description provided.