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:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Tim Hunt, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Bas Brands
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

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