[Bug] v2 API: custom field options are an object on read but must be a JSON string on write
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go, json
- Lĩnh vực
- api, backend-api-design
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Go
- Star
- 421
- Fork
- 50
- Merge trung bình
- 17 giờ 34 phút
- Pull request đã merge (30 ngày)
- 80
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Windshiftapp/core
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Windshiftapp/core#542 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Time Tracking FilteringĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Windshiftapp/core#334 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Windshiftapp/core#259 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug][AI chat] Select menu dont appear when on index pageCó thể đã có người làm @valentimarco đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 20/100
Windshiftapp/core#541 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Windshiftapp/core#538 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Windshiftapp/core
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
karmada-io/karmada#8101 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
product:platform
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Infisical/infisical#9746 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CrossEntropyFilter raises on zero probabilities and single-class resultsCó thể đã có người làm @NopeCharon đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
txn2/mcp-data-platform#2728 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
effort:s impact:low raised-by:worker risk:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
medici-finance/assay#7259 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày