Skip to content

Conversation

@dqnykamp
Copy link
Member

@dqnykamp dqnykamp commented Oct 2, 2025

Since assignment data is not correctly transmitted for DoenetML versions 0.6 and 0.7 intermediate, this PR prevents on from creating an assignment for an activity that includes one of those versions.

This is a temporary hack that should be removed when we fix or remove the offending DoenetML versions.

@dqnykamp dqnykamp requested a review from cqnykamp October 2, 2025 22:15
@dqnykamp
Copy link
Member Author

dqnykamp commented Oct 2, 2025

I was sorely tempted to just fix the bad DoenetML versions instead. But, I can't fix 0.7 intermediate, and we need to give users some time before we remove that option. We should fix DoenetML version 0.6; see issue Doenet/DoenetML#617.

// TODO: remove this when fix bad assignment versions
const badVersions = (
await prisma.doenetmlVersions.findMany({
where: { displayedVersion: { in: ["0.6", "0.7 intermediate"] } },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't test 0.7 intermediate since it's not on local db or seed script. Assuming it's fine.

@dqnykamp dqnykamp requested a review from cqnykamp November 5, 2025 23:54
@cqnykamp cqnykamp merged commit 1775da6 into Doenet:main Nov 6, 2025
7 checks passed
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