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

Error occurs when teacher/admin manually marks an item as complete

    Details

    • Testing Instructions:
      Hide

      (Do this test as admin)

      1. Ensure that activity completion is enabled at server level under advanced features.
      2. For a test course, ensure that completion is enabled in the course settings.
      3. Add a new label using the default completion settings (manual completion).
      4. Turn editing off.
      5. Click the completion tickbox next to the label.

      EXPECTED:

      The tickbox is ticked.

      BEFORE FIX:

      An alert appears to tell you that there was an error saving the tick mark.

      Show
      (Do this test as admin) 1. Ensure that activity completion is enabled at server level under advanced features. 2. For a test course, ensure that completion is enabled in the course settings. 3. Add a new label using the default completion settings (manual completion). 4. Turn editing off. 5. Click the completion tickbox next to the label. EXPECTED: The tickbox is ticked. BEFORE FIX: An alert appears to tell you that there was an error saving the tick mark.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      MDL-38101-master

      Description

      When logged in as a teacher or admin, if the user clicks on an a box to manually mark an activity as completed, an error occurs in the Ajax and is displayed in a modular window on-screen.

      An error occurred when attempting to save your tick mark.
       
      (<!DOCTYPE html>
      <html  dir="ltr" lang="en" xml:lang="en">
      <head>
          <title>Error</title>
          <link rel="shortcut icon" href="http://michael.moodle.local/master_dev/theme/image.php/standard/theme/1360572777/favicon" />
          <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <meta name="keywords" content="moodle, Error" />
      <link rel="stylesheet" type="text/css" href="http://michael.moodle.local/master_dev/theme/yui_combo.php?3.8.0/build/cssreset/reset.css&amp;3.8.0/build/cssfonts/fonts.css&amp;3.8.0/build/cssgrids/grids.css&amp;3.8.0/build/cssbase/base.css" /><script type="text/javascript" src="http://michael.moodle.local/master_dev/theme/yui_combo.php?3.8.0/build/simpleyui/simpleyui.js&amp;3.8.0/build/loader/loader.js"></script><script id="firstthemesheet" type="text/css">/** Required in order to fix style inclusion problems in IE with YUI **/</script><link rel="stylesheet" type="text/css" href="http://michael.moodle.local/master_dev/theme/styles.php/standard/1360572777/all" />
      <script type="text/javascript">
      //<![CDATA[
      var M = {}; M.yui = {};
      ...
      The page content is repeated.
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Mar/13