Impossible to edit build plans for exam programming exercises #10454
Labels
atlas
Pull requests that affect the corresponding module
bug
exam
Pull requests that affect the corresponding module
exercise
Pull requests that affect the corresponding module
programming
Pull requests that affect the corresponding module
Describe the bug
In 7.10.4, I created an exam and added a programming exercise. I noticed that I cant submit the build plan.
The stripped down request looks like this:
You may note the undefined in the url. This should be the exercise id (27).
I tracked the origin of that id down to build-plan-editor.component.ts. There
programmingExercise
is set and inloadSolutionAndTemplateParticipation()
, the id gets read from there. In a jusual exercise, this listener is called and the id gets initialized. For an exam programming exercise, this does not happen.substribe(...)
is called but the callback is never called.I noticed, that
this.activatedRoute.data._value
evaluates to an object with keysauthorities
andpageTitle
. A normal programming exercise has additionallycourse
andexercise
.Artemis has the following profiles active: artemis,scheduling,core,prod,docker,jenkins,localvc,atlas,saml2
To Reproduce
Expected behavior
Submit the build plan.
Screenshots
Artemis has the following profiles active: artemis,scheduling,core,prod,docker,jenkins,localvc,atlas,saml2
Which version of Artemis are you seeing the problem on?
7.10.4
What browsers are you seeing the problem on?
Chrome
Additional context
No response
Relevant log output
The text was updated successfully, but these errors were encountered: