[QTI] Saving a question drops data-catalog-idref from its prompt
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
- 20/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- xml
- Lĩnh vực
- frontend
Hướng nghiên cứu
The issue names no files or tests; start by locating the QTI choice-item editor and the path that emits its raw_data. Trace how the prompt is opened and serialized, then add the requested test from opening the item through emitted raw_data. Done means edits preserve the prompt's data-catalog-idref, including when prompt text around the element changes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Target branch: unstable
Observed behavior
- Saving a QTI choice question rewrites
<qti-prompt>without its<span data-catalog-idref="…">, even when only a hint changed. - The item still carries the referenced
<qti-catalog>(kept since #6290), now with nothing pointing at it.
User-facing consequences
- An imported item's glossary term stops being a glossary term for learners after any edit in Studio.
Steps to reproduce
- Open a QTI choice item with this prompt and catalog:
<qti-prompt>Pick the <span data-catalog-idref="g1">vowel</span>.</qti-prompt> … <qti-catalog id="g1"> <qti-card support="glossary-on-screen"><qti-html-content><p>A letter like A, E, I, O, U.</p></qti-html-content></qti-card> </qti-catalog> - Click Edit, expand Hints, click Add hint, type any text, click Close.
- The emitted
raw_datahas<qti-prompt><p>Pick the vowel.</p></qti-prompt>.
Context
- Seen on the #6290 branch (
90c5b6190) in the QTI editor dev demo page, Chromium.
Acceptance Criteria
- Editing any part of such an item keeps
data-catalog-idrefon the prompt element that carried it. - Editing the prompt text around such an element keeps the attribute.
- A test covers it from opening the item to the emitted
raw_data.
AI usage
Claude Code found this during manual QA of #6290 and drafted the issue.
- Ngôn ngữ chính
- Python
- Star
- 213
- Fork
- 314
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 68
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 learningequality/studio
-
Set unpublishable: true on PublishedChange by construction to simplify handleMaxRevs predicateĐang mởDEV: frontend P3 - low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
learningequality/studio#5868 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
TAG: tech update / debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
learningequality/studio#2245 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug DEV: frontend P1 - important
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
learningequality/studio#6322 · 1 reaction ·
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 25/100
learningequality/studio#6319 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
TAG: tech update / debt
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
learningequality/studio#6318 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của learningequality/studio
Issue tương tự
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
selimfirat/pysad#379 ·
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 75/100
open-webui/open-webui#32805 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix: [bug description] HTML CVE metric table shows only the last CVE for each productCó thể đã có người làm @Chris-wh233 đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
ossf/cve-bin-tool#5976 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
gke-labs/kube-agents#3615 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
deferred
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày