GUI rejects valid empty-string SearchReplaceConverter settings, preventing deletion converters
メンテナーはふだん 2 日以内に返信
@Darshika140 がすでに取り組んでいます。
2026年11月2日 から。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- python, react, typescript
- 領域
- frontend
調査の方向性
引用されている検証ロジックがある frontend/src/components/Config/CreateConverterDialog.tsx から始め、フォームの動作をissue内の /api/converters の例と比較してください。置換文字列が空、パターンが空、空白文字がリテラルである場合の回帰テストを追加してください。置換文字列が空でも受け入れられて一致箇所が削除され、他のケースが意図どおりに動作すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
The converter form treats a valid empty replacement string as missing, blocking a SearchReplaceConverter that should delete matched text.
Steps/Code to Reproduce
In Chat > converter panel > Add converter, choose SearchReplaceConverter, enter pattern remove-me, leave replace empty, and click Add Converter. Compare with POST /api/converters using {pattern: 'remove-me', replace: ''} and preview original keep remove-me.
Expected Results
Empty replacement should be accepted and remove matches. Required constructor arguments do not necessarily imply nonempty string values.
Actual Results
Form stays open with Required under replace and sends no create request. Same API parameters return HTTP 201; preview returns keep . API also accepts a literal-space pattern and previews a b as a_b.
Verified source reference: CreateConverterDialog.
Proposed fix/regression: distinguish unset from empty strings and avoid trimming meaningful values for requiredness; test empty replacement, empty pattern, and literal whitespace.
Screenshots
Screenshot is a local recovery artifact, not attached here.
Versions
Tested commit d3446e045960b5ebee4641aa70fdeb03af186587, PyRIT 1.2.0.dev0, offline Playwright with real local converter APIs. Evidence: files/evidence/round10/empty-string-contract.json; local path is not an attachment.
- 主要言語
- Python
- スター
- 4.7k
- フォーク
- 1k
- 平均マージ
- 2日 2時間
- マージ済み PR(30日)
- 439
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/PyRIT のほかの issue
-
BUG: LLMGenericTextConverter identifier changes between processes for set-valued template parametersオープンBug: triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 2 日以内に返信
-
Bug: triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
Description-only preset edits split comma-containing exact goals into separate goals対応中かも @MRX-72 が 1 日前に担当しました。 オープンhelp wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
HTML scenario export replaces an intentionally empty converted message with the original text対応中かも @VISHNU0906 が 1 日前に担当しました。 オープンhelp wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
microsoft/PyRIT#3741 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
ReferenceField has no component tests and only 42.4% line coverage対応中かも @ppcvote が今日担当しました。 オープンhelp wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
microsoft/PyRIT の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
earthtojake/text-to-cad#758 ·
メンテナーはふだん 1 日以内に返信
-
domain:upgrades enhancement needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
gke-labs/kube-agents#4634 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
agardnerIT/opamp-server-py#116 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
elviskahoro/sdk-python-attio#144 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信