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

Uninstalling an atto plugin throws debug notices

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Uninstall a plugin that is set in your toolbar (but leave it in the toolbar setting)
      2. Make sure you do not see any notice when loading a page with Atto
      3. Remove the setting from the toolbar
      4. Make sure Atto is fine.
      Show
      Uninstall a plugin that is set in your toolbar (but leave it in the toolbar setting) Make sure you do not see any notice when loading a page with Atto Remove the setting from the toolbar Make sure Atto is fine.
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-45130-master

      Description

      Replication step:-

      1. uninstall an atto plugin
      2. Go to any page with an editor
      3. You would see notices like below:-

        Missing atto plugin html
         
            line 103 of /lib/editor/atto/lib.php: call to debugging()
            line 361 of /lib/form/editor.php: call to atto_texteditor->use_editor()
            line 183 of /lib/pear/HTML/QuickForm/Renderer/Tableless.php: call to MoodleQuickForm_editor->toHtml()
            line 2773 of /lib/formslib.php: call to HTML_QuickForm_Renderer_Tableless->renderElement()
            line 403 of /lib/pear/HTML/QuickForm/element.php: call to MoodleQuickForm_Renderer->renderElement()
            line 1632 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm_element->accept()
            line 1694 of /lib/formslib.php: call to HTML_QuickForm->accept()
            line 1675 of /lib/pear/HTML/QuickForm.php: call to MoodleQuickForm->accept()
            line 435 of /lib/pear/HTML/Common.php: call to HTML_QuickForm->toHtml()
            line 204 of /lib/pear/HTML/QuickForm/DHTMLRulesTableless.php: call to HTML_Common->display()
            line 921 of /lib/formslib.php: call to HTML_QuickForm_DHTMLRulesTableless->display()
            line 1011 of /mod/forum/post.php: call to moodleform->display()
        

      Reason for the notice is that the toolbar config is not updated during uninstall and still contains references to the un installed plugin.

        Attachments

          Activity

            People

            Assignee:
            fred Frédéric Massart
            Reporter:
            ankit_frenz Ankit Agarwal
            Peer reviewer:
            Ankit Agarwal
            Integrator:
            Damyon Wiese
            Tester:
            Simey Lameze
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/Jul/14