[QTI] Saving a deleted formula can overwrite another formula
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, python
- Domain
- frontend
Research direction
The issue identifies TipTap transactions and the formula dialog but names no source file or test. Start by searching the repository for the formula dialog and its save behavior, then inspect the existing tests around formula deletion. Done when saving after the target is deleted leaves the surviving formula unchanged, including when both formulas have identical LaTeX.
Written by the indexing model from the issue text.
Description
❌ 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 the formula dialog after its target is removed changes the formula left at the old position.
Expected behavior
Saving changes only the formula that opened the dialog.
User-facing consequences
An edit can overwrite a surviving formula without the author selecting it.
Steps to reproduce
- Load a prompt with two adjacent editor-made
xformulas and open the dialog on the first. - While the dialog is open, apply a TipTap transaction deleting only the first formula.
- Save
yin the dialog and inspect the remaining formula.
Acceptance Criteria
- Saving after a transaction deletes the dialog's target leaves the surviving formula unchanged, even if it has identical LaTeX.
Context
Reproduced in Jest/jsdom on unstable at 2713cbf33.
AI usage
Codex drafted the issue from the #6309 review. It ran the deletion and save in a real TipTap editor under Jest and inspected the serialized result.
- Dominant language
- JavaScript
- Stars
- 214
- Forks
- 327
- Avg merge
- 17h 5m
- Merged PRs (30d)
- 25
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from learningequality/studio
-
Community library status changes don't update `date_updated`Possibly taken @ArpitaSamanta10 claimed this 13 days ago. Opencommunity-contribution-in-progress DEV: backend good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
learningequality/studio#6414 · 8 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Activation key can activate a different account whose email differs only in casePossibly taken @Madhu-priya123 claimed this 4 days ago. OpenDEV: backend
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
learningequality/studio#6410 · 2 comments ·
Maintainers usually reply within 1 day
-
DEV: backend
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
learningequality/studio#6409 ·
Maintainers usually reply within 1 day
-
DEV: backend
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
learningequality/studio#6407 ·
Maintainers usually reply within 1 day
-
Stripe webhook accepts events when no webhook secret is configuredPossibly taken @adibmbrk claimed this 14 days ago. Opencommunity-contribution-in-progress DEV: backend good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
learningequality/studio#6404 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in learningequality/studio
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
yetone/alma-releases#782 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Pomax/markdown-editor#193 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
cboard-org/cboard#2449 ·
Maintainers usually reply within 1 day
-
enhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
BinaryBaconLabs/todo-app#50 ·
Maintainers usually reply within 1 day
-
bug server testing
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
blamechris/chroxy#9435 ·
Maintainers usually reply within 1 day