Skip to content

Bug: Question components marking value is loaded incorrectly on course relaunch #835

@lemmyadams

Description

@lemmyadams

Subject of the issue/enhancement/features

If one enables suppress marking on an assessment, then it overwrites the _canShowMarking variable as false, which the question model is using to define the _shouldShowMarking variable. However the question model only does this one time when the question component is submitted, and not when it is relaunched.
This then creates an issue for example where a user submits a question component in a partially assessment with suppress marking enabled, which correctly suppresses the marking initially, but on relaunching the course they will see the marking displayed.

Steps to reproduce

  • Create an assessment with a question component such as MCQ
  • Enable Suppress marking on the assessment
  • Launch course and complete the question component to display no marking
  • Relaunch course to view marking on the question component

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Needs Reviewing

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions