[GH-ISSUE #2790] Issue with SQL Editor Disconnecting While Editing Saved Script #941

Closed
opened 2026-03-07 20:57:02 +03:00 by kerem · 0 comments
Owner

Originally created by @matthieukhl on GitHub (Jul 19, 2024).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/2790

Describe the bug
In Community version 24.0.3, when working on a saved script, if the script is modified, CloudBeaver performs an automatic save. However, after the auto-save completes, the SQL editor disconnects from the database. This happens with both MySQL and ClickHouse connections. I've also reproduced this bug in Community version 24.1.2.

To Reproduce
Steps to reproduce the behavior:

  1. Open a new script and write some basic SQL queries.
  2. Save the script.
  3. Edit your SQL scripts (e. g. add a new query or some random text) and wait for the auto-save to complete.
  4. The SQL Editor should be disconnected.

Desktop (please complete the following information):

  • OS: macOS Sonoma 14.5
  • Browser : Chrome
  • Version 126.0.6478.127

Additional context
19-07-2024 07:05:48.023 [qtp878493504-1036] DEBUG i.c.m.r.l.LocalResourceController - Writing data to resource 'workspace/user-projects/<my_username>/git_hub_issue.sql in project <u_my_username>' 19-07-2024 07:05:48.103 [qtp878493504-1054] DEBUG i.c.server.graphql.GraphQLEndpoint - API > getResourceList 19-07-2024 07:05:48.188 [qtp878493504-1027] DEBUG i.c.server.graphql.GraphQLEndpoint - API > readResource 19-07-2024 07:05:48.190 [qtp878493504-1052] DEBUG i.c.server.graphql.GraphQLEndpoint - API > navNodeChildren 19-07-2024 07:05:48.250 [qtp878493504-1036] DEBUG i.c.server.graphql.GraphQLEndpoint - API > getResourceList 19-07-2024 07:05:48.263 [qtp878493504-1054] DEBUG i.c.server.graphql.GraphQLEndpoint - API > navNodeChildren 19-07-2024 07:05:48.263 [qtp878493504-1027] DEBUG i.c.server.graphql.GraphQLEndpoint - API > navNodeChildren 19-07-2024 07:05:48.328 [qtp878493504-1053] DEBUG i.c.server.graphql.GraphQLEndpoint - API > executionContextDestroy 19-07-2024 07:05:48.690 [DBeaver: CloudBeaver events job] DEBUG i.c.s.events.WSDefaultEventHandler - cb_scripts event handled 19-07-2024 07:05:48.690 [DBeaver: CloudBeaver events job] DEBUG i.c.s.events.WSDefaultEventHandler - Cannot handle cb_scripts event 'cb_rm_resource_updated' in session xbr0hikyy3k61er3b8mr796lx101 19-07-2024 07:05:48.690 [DBeaver: CloudBeaver events job] DEBUG i.c.s.events.WSDefaultEventHandler - Cannot handle cb_scripts event 'cb_rm_resource_updated' in session ju4i2ra8m5wo1dauq2a8or1fl102 19-07-2024 07:05:48.690 [DBeaver: CloudBeaver events job] DEBUG i.c.s.events.WSDefaultEventHandler - Cannot handle cb_scripts event 'cb_rm_resource_updated' in session c1lwwmuee2ae1fjp7ta5qf19a58

Originally created by @matthieukhl on GitHub (Jul 19, 2024). Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/2790 **Describe the bug** In Community version 24.0.3, when working on a saved script, if the script is modified, CloudBeaver performs an automatic save. However, after the auto-save completes, the SQL editor disconnects from the database. This happens with both MySQL and ClickHouse connections. I've also reproduced this bug in Community version 24.1.2. **To Reproduce** Steps to reproduce the behavior: 1. Open a new script and write some basic SQL queries. 2. Save the script. 3. Edit your SQL scripts (e. g. add a new query or some random text) and wait for the auto-save to complete. 4. The SQL Editor should be disconnected. **Desktop (please complete the following information):** - OS: macOS Sonoma 14.5 - Browser : Chrome - Version 126.0.6478.127 **Additional context** `19-07-2024 07:05:48.023 [qtp878493504-1036] DEBUG i.c.m.r.l.LocalResourceController - Writing data to resource 'workspace/user-projects/<my_username>/git_hub_issue.sql in project <u_my_username>' 19-07-2024 07:05:48.103 [qtp878493504-1054] DEBUG i.c.server.graphql.GraphQLEndpoint - API > getResourceList 19-07-2024 07:05:48.188 [qtp878493504-1027] DEBUG i.c.server.graphql.GraphQLEndpoint - API > readResource 19-07-2024 07:05:48.190 [qtp878493504-1052] DEBUG i.c.server.graphql.GraphQLEndpoint - API > navNodeChildren 19-07-2024 07:05:48.250 [qtp878493504-1036] DEBUG i.c.server.graphql.GraphQLEndpoint - API > getResourceList 19-07-2024 07:05:48.263 [qtp878493504-1054] DEBUG i.c.server.graphql.GraphQLEndpoint - API > navNodeChildren 19-07-2024 07:05:48.263 [qtp878493504-1027] DEBUG i.c.server.graphql.GraphQLEndpoint - API > navNodeChildren 19-07-2024 07:05:48.328 [qtp878493504-1053] DEBUG i.c.server.graphql.GraphQLEndpoint - API > executionContextDestroy 19-07-2024 07:05:48.690 [DBeaver: CloudBeaver events job] DEBUG i.c.s.events.WSDefaultEventHandler - cb_scripts event handled 19-07-2024 07:05:48.690 [DBeaver: CloudBeaver events job] DEBUG i.c.s.events.WSDefaultEventHandler - Cannot handle cb_scripts event 'cb_rm_resource_updated' in session xbr0hikyy3k61er3b8mr796lx101 19-07-2024 07:05:48.690 [DBeaver: CloudBeaver events job] DEBUG i.c.s.events.WSDefaultEventHandler - Cannot handle cb_scripts event 'cb_rm_resource_updated' in session ju4i2ra8m5wo1dauq2a8or1fl102 19-07-2024 07:05:48.690 [DBeaver: CloudBeaver events job] DEBUG i.c.s.events.WSDefaultEventHandler - Cannot handle cb_scripts event 'cb_rm_resource_updated' in session c1lwwmuee2ae1fjp7ta5qf19a58`
kerem 2026-03-07 20:57:02 +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#941
No description provided.