[Bug] v2 API: custom field options are an object on read but must be a JSON string on write
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go, json
調査の方向性
Start with the api/openapi-v2.json schema for options on custom fields, then find the v2 handlers for GET /custom-fields and POST/PATCH /custom-fields/{id} to compare how each side encodes and decodes it. Agree with maintainers whether the parsed object or the JSON string is canonical before editing, since the issue leaves that open. Done when a read can be written back unchanged and the OpenAPI document matches the actual behaviour.
索引モデルが issue の本文から書いたものです。
説明
Version: main (b1a9898)
GET /rest/api/v2/custom-fields returns each field's options already parsed ({"next_id": N, "items": [{"id", "label"}]}), while POST /custom-fields and PATCH /custom-fields/{id} declare options as a string in api/openapi-v2.json and accept the same structure JSON-encoded. A client that reads a multiselect field, adds an option and writes it back has to re-encode in between; one that assumes the documented string on read crashes.
Expected: the same representation both ways, ideally the parsed object, with the OpenAPI document updated to match.
Minor, but it cost a failed sync run on our side, so noting it.
- 主要言語
- Go
- スター
- 421
- フォーク
- 50
- 平均マージ
- 17時間 34分
- マージ済み PR(30日)
- 80
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Windshiftapp/core のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
Windshiftapp/core#542 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
Windshiftapp/core#334 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Windshiftapp/core#259 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug][AI chat] Select menu dont appear when on index page対応中かも @valentimarco が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 20/100
Windshiftapp/core#541 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
Windshiftapp/core#538 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
Windshiftapp/core の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
karmada-io/karmada#8101 ·
メンテナーはふだん 1 日以内に返信
-
product:platform
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
Infisical/infisical#9746 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
CrossEntropyFilter raises on zero probabilities and single-class results対応中かも @NopeCharon が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
txn2/mcp-data-platform#2728 ·
メンテナーはふだん 1 日以内に返信
-
effort:s impact:low raised-by:worker risk:low
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
medici-finance/assay#7259 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信