pgadmin-org / pgadmin-org/pgadmin4

Server does not auto-connects on query tool update connection.

Open
#8,144 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
Python
Stars
3.8k
Forks
891
Avg merge
4d 7h
Merged PRs (30d)
8

Description

Please note that security bugs or issues should be reported to security@pgadmin.org.

Describe the bug

When we disconnect the server and update query tool connection, query tool gets auto connected but the server does not, after server group refresh also it does not auto connects.

To Reproduce

Steps to reproduce the behavior:

  1. Open query tool for maintenance db
  2. add a new connection to another db using new connection dialog
  3. update the connection to maintenance db
  4. disconnect the server
  5. update the connection from maintenance db to another db
  6. Query tool reconnects
  7. refresh the server group from object explorer, the server is still disconnected

Expected behavior

It should connect to the server

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue through the query tool and server group refresh using the listed steps, then trace the connection update and server refresh entry points. Done means that after switching connections and refreshing the server group, the disconnected server automatically reconnects.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, python
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.