Skip to content

Duplication of improvised question #141

@osangoi

Description

@osangoi

Each time the Jazz Quiz in viewed in teacher mode a set of improvised question is addedd to the question bank. This cause a huge number of questions in the question bank.
The problem is in file view.php

/**
 * Entry point for viewing a quiz.
 */
function jazzquiz_view(): void {
    ...
    $iscapable = true;
    ...
    if ($iscapable) {
        if ($jazzquiz->is_instructor()) {
            $improviser = new improviser($jazzquiz);
            $improviser->insert_default_improvised_question_definitions();
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions