pgadmin-org / pgadmin-org/pgadmin4
Connection parameter dropdown options do not update when parameter is changed.
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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