Skip to content

CSCEXAM-1668 Fixed question copy in collab exams - #1459

Merged
lupari merged 2 commits into
devfrom
CSCEXAM-1668
Oct 7, 2026
Merged

lupari merged 2 commits into
devfrom
CSCEXAM-1668

Conversation

@lupari

@lupari lupari commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

Collaborative exam questions only exist in the XM exam document, but copying posted them to the local question copy endpoint, which could not find them and answered 403. The copy is now built client side and inserted through the collaborative section endpoint, which assigns new ids. The attachment is not carried over, since sharing one XM file between two questions breaks the other once either removes it.

QuestionService.copyQuestion now returns 404 for a missing question instead of reporting it as an access error.

Collaborative exam questions only exist in the XM exam document, but
copying posted them to the local question copy endpoint, which could
not find them and answered 403. The copy is now built client side and
inserted through the collaborative section endpoint, which assigns new
ids. The attachment is not carried over, since sharing one XM file
between two questions breaks the other once either removes it.

QuestionService.copyQuestion now returns 404 for a missing question
instead of reporting it as an access error.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@lupari
lupari requested a review from LofhJann October 2, 2026 11:56
@lupari
lupari merged commit a52bc62 into dev Oct 7, 2026
2 checks passed
@lupari
lupari deleted the CSCEXAM-1668 branch October 7, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants