You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hialus opened this issue
Nov 25, 2024
· 4 comments
· May be fixed by #9917
Labels
bugexamPull requests that affect the corresponding moduleexercisePull requests that affect the corresponding modulelecturePull requests that affect the corresponding modulequizPull requests that affect the corresponding module
github-actionsbot
added
exam
Pull requests that affect the corresponding module
exercise
Pull requests that affect the corresponding module
lecture
Pull requests that affect the corresponding module
quiz
Pull requests that affect the corresponding module
labels
Nov 25, 2024
While the exam is active, the edit button is disabled by default. There is also a comment in the code: <!-- Only show the edit button if the exam has not ended. Disable the button if the exam is running -->
I'm not sure if we want to remove this protection mechanism? Please provide feedback.
In the event that we actually would want to edit questions during the exam, I can gladly create a PR that makes the button clickable during exams.
We need to keep this protection mechanism. Editing a quiz while someone is actively working on it, is not supported, because it can lead to database inconsistencies. This also applies for test runs of instructors during the quiz setup.
The reason is that during editing, you could easily delete answer options that are already references in submitted answers.
We could potentially allow some kind of limited edit support (similar to re-evaluate), but this is not easy to implement and currently out of scope.
I believe it is still possible to edit the quiz even though the button is disabled. You can access the editing website via the href of the “edit” button. Should we also stop the user from this?
We could also add a tooltip or something similar stating that editing is not possible while the exam is open to provide clarity to the user.
Hey @Hialus,
I can also see that other people might think the disabled edit button is a bug,
so I've added a tooltip explaining to them why it's disabled. It would be great if you could review the PR for me
as it only spans a few lines.
Thanks ;D
bugexamPull requests that affect the corresponding moduleexercisePull requests that affect the corresponding modulelecturePull requests that affect the corresponding modulequizPull requests that affect the corresponding module
Describe the bug
When you are in the list of exercise groups of an exam, the edit button for quiz exercises is disabled.
To Reproduce
Expected behavior
The button is not disabled
Screenshots
Which version of Artemis are you seeing the problem on?
develop
What browsers are you seeing the problem on?
Chrome
Additional context
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: