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

Quiz setting page is broken if quizaccess/seb:manage_seb_showsebdownloadlink is missing

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 3.9.13, 3.10.10, 3.11.6, 4.0
    • None
    • Quiz

    Description

      How to reproduce

      As admin create a new quiz and configure it to use SEB with uploading an own config
      Upload a config (e.g. example attached SebClientSettings_Upload_Config.seb)
      Remove permission quizaccess/seb:manage_seb_showsebdownloadlink and quizaccess/seb:manage_filemanager_sebconfigfile from the Teacher role
      Logout as admin, login as a Teacher and go to the quiz page
      On the quiz page, click on "Settings"

      Observed

      QuickForm Error: nonexistent html element Element 'seb_showsebdownloadlink' does not exist n HTML_QuickForm::insertElementBefore()

      Expected

      The settings page is displayed without error messages.

       

      Attachments

        Issue Links

          Activity

            People

              lucaboesch Luca Bösch
              dmitriim Dmitrii Metelkin
              Tim Hunt Tim Hunt
              Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: