pgadmin-org / pgadmin-org/pgadmin4

Connection parameter dropdown options do not update when parameter is changed.

Open
#9,630 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

If you happen to change the sslmode option in the dropdown to sslnegotiation then the only values you get are the options for sslmode (require, verify-ca, etc)

The correction options (direct, postgres) don't show.

If you switch tabs back and forth, then the options will update.

Since it's mostly cosmetic, I'm just reporting this in case it's this sort of state management bug is a compound cause other issues.

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 in the connection parameter dropdown by changing sslmode to sslnegotiation and observe that the old values remain until switching tabs. Trace the dropdown's parameter-change update path and add or update a regression test; done means direct and postgres appear immediately for sslnegotiation.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.