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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.9.13, 3.10.10, 3.11.6, 4.0
    • Quiz
    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MDL-74256-401
    • MDL-74256-master
    • Hide
      1. As admin, create a new quiz and configure it to use SEB with uploading an own config
      2. Upload a config (e.g. example attached SebClientSettings_Upload_Config.seb)
      3. Remove the permissions (set to "Prohibit") quizaccess/seb:manage_seb_showsebdownloadlink and quizaccess/seb:manage_filemanager_sebconfigfile from the Teacher role
      4. Logout as admin, login as a Teacher and go to the quiz page
      5. On the quiz page, click on "Settings"
      6. Verify there is no error message on the page and you see the whole Settings form.
      Show
      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 the permissions (set to "Prohibit") 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" Verify there is no error message on the page and you see the whole Settings form.

      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.

       

            lucaboesch Luca Bösch
            dmitriim Dmitrii Metelkin
            Tim Hunt Tim Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.