pgadmin-org / pgadmin-org/pgadmin4

Server node context menu shows database node context menu options

Open
#7,612 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 right click on the server node, it shows the database node context menu. This issue only comes when the database node is expanded and we closed the pgAdmin application and reopen it and right click on the server node.

To Reproduce

Steps to reproduce the behavior:

  1. Expand any database
  2. Select server
  3. Close pgAdmin
  4. Re-open it again
  5. Expand the server group
  6. Expand the server
  7. right click on the server
  8. See the context menu it shows the database context menu options

Expected behavior

It must show the server context menu options.

Error message

No error message

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: OSX Ventura 13.5.1
  • Version: 8.8
  • Mode: Desktop
  • Browser (if running in server mode): [e.g. chrome, safari]
  • Package type: [e.g. RPM, DEB, Python, Container, etc.]

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

No implementation files or tests are named. Reproduce the persisted tree-state sequence described in the issue, then verify that right-clicking the server displays server context-menu options rather than database options after reopening pgAdmin.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.