Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-60920

Quiz index page (mod/quiz/index.php) has spurious "Edit questions" button top right

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • Go to a course
      • Turn editing on
      • Insert a quiz → Save and display
      • Edit quiz → Add at least one question → Save changes
      • Cog → Turn editing on
      • Add a block "Activities"
      • On the Activities block, click "Quizzes"

      Cross-check there is no "edit questions" button any more in the breadcrumb navigation.

      Show
      Go to a course Turn editing on Insert a quiz → Save and display Edit quiz → Add at least one question → Save changes Cog → Turn editing on Add a block "Activities" On the Activities block, click "Quizzes" Cross-check there is no "edit questions" button any more in the breadcrumb navigation.
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-60920-master

      Description

      Upon clicking "Quizzes" in Activity block, an unstyled "Edit questions" button appears in breadcrumb navigation.

      Steps to reproduce:

      • Go to a course
      • Turn editing on
      • Insert a quiz → Save and display
      • Edit quiz → Add at least one question → Save changes
      • Cog → Turn editing on
      • Add a block "Activities"
      • On the Activities block, click "Quizzes"

      Actual result: In the breadcrumb navigation, there is a button "Edit questions".
      Expected result: That button is not present.

      This is ancient history: https://github.com/moodle/moodle/blob/master/mod/quiz/index.php#L48. It has no place in modern Moodle.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lucaboesch Luca Bösch
                Reporter:
                lucaboesch Luca Bösch
                Peer reviewer:
                Tim Hunt
                Integrator:
                Damyon Wiese
                Tester:
                Gladys Basiana
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta, Ryan Wyllie, Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  17/May/18