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

DnD: It is not allowed to set the property cm_info::$<property>

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.6
    • 2.6
    • Course
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • wip-MDL-42441-master
    • Hide
      1. Enable some group mode in the course but do not force it
      2. Drag and drop scorm package on the page
      3. Make sure the group mode for activity is displayed properly
      4. Refresh the page
      5. Make sure the group mode for activity is displayed properly
      6. Drag and drop scorm package on page again
      7. Without refreshing the page try to change the group mode, make sure it is being changed properly and remains the same after refreshing the page
      8. Repeat the same with forced group mode (except that you should not be able to change the group mode in this case)
      Show
      Enable some group mode in the course but do not force it Drag and drop scorm package on the page Make sure the group mode for activity is displayed properly Refresh the page Make sure the group mode for activity is displayed properly Drag and drop scorm package on page again Without refreshing the page try to change the group mode, make sure it is being changed properly and remains the same after refreshing the page Repeat the same with forced group mode (except that you should not be able to change the group mode in this case)

      Uploading a SCORM package using drag&drop gives these 2 debugging messages below, visible only in the web server error log file:

      Debugging: It is not allowed to set the property cm_info::$groupmodelink
      line 1249 of /lib/modinfolib.php: call to debugging()
      line 703 of /course/dnduploadlib.php: call to cm_info->__set()
      line 553 of /course/dnduploadlib.php: call to dndupload_ajax_processor->finish_setup_course_module()
      line 515 of /course/dnduploadlib.php: call to dndupload_ajax_processor->handle_file_upload()
      line 41 of /course/dndupload.php: call to dndupload_ajax_processor->process()
      referer: /course/view.php?id=3&notifyeditingon=1
       
      Debugging: It is not allowed to set the property cm_info::$groupmode
      line 1249 of /lib/modinfolib.php: call to debugging()
      line 704 of /course/dnduploadlib.php: call to cm_info->__set()
      line 553 of /course/dnduploadlib.php: call to dndupload_ajax_processor->finish_setup_course_module()
      line 515 of /course/dnduploadlib.php: call to dndupload_ajax_processor->handle_file_upload()
      line 41 of /course/dndupload.php: call to dndupload_ajax_processor->process()
      referer: /course/view.php?id=3&notifyeditingon=1
      

      Regression from MDL-41219?

            marina Marina Glancy
            matteo Matteo Scaramuccia
            Andrew Lyons Andrew Lyons
            Dan Poltawski Dan Poltawski
            Petr Skoda Petr Skoda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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