passexec_name not loaded from servers.json file

クローズ 初心者向け
#10,702 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
postgresql, python
領域
database

調査の方向性

web/pgadmin/utils/init.py のサーバー読み込みコードから始め、issue でリンクされているセクションで、server.json のフィールドが共有サーバー設定にどのようにコピーされるかを追ってください。ログイン時に PasswordExecName がどのように扱われるかを確認し、関連するテストを探してください。ファイルから共有サーバーを読み込んだときにパスワードコマンド名が保持され、ログイン時に使用されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Bug

Describe the bug

passexec_name is not set when a server is loaded from a servers. json file.

To Reproduce

Steps to reproduce the behavior:

  1. Add shared server via server.json with PasswordExecName set
  2. Log in as shared server user. Attempt to log in to server.
  3. Password requested instead of attempting to use the passexec_name set.

Expected behavior

the name of the command to exec is stored with the server, and is used on login.

Desktop (please complete the following information):

  • OS: k8s
  • pgAdmin version: 9.19
  • Mode: kubernetes docker helm
  • Browser (if running in server mode): firefox
  • Package type: docker
  • Application Mode: Server
  • Commit: 062099ae5b927fc2bb6f1c1f198712e1f8bd04e6 2026-10-27
  • Python Version: 3.15.2
  • Browser: Firefox 158.0

Additional context

I believe the cause is the lack of the addition of PasswordExecName to this section of the code in #10506

主要言語
Python
スター
3.9k
フォーク
914
平均マージ
2日 12時間
マージ済み PR(30日)
35

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pgadmin-org/pgadmin4 のほかの issue

pgadmin-org/pgadmin4 の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。