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

Cleanup of _viewed events in modules

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.7
    • 2.6.1
    • Logging
    • MOODLE_26_STABLE
    • MOODLE_27_STABLE
    • wip-MDL-44321-master
    • Hide

      Make sure you have developer debugging enabled

      1. Enable Feedback module
      2. Create a course and a module of each type:
        -book
        -chat
        -data
        -feedback
        -folder
        -lti
        -page
        -resource
        -url
      3. Perform couple of basic view/add/edit/delete actions inside each module, look for debugging messages

      The additional check added in this issue may create debugging messages in many areas. Listed are ones that are not covered by behat yet

      Show
      Make sure you have developer debugging enabled Enable Feedback module Create a course and a module of each type: -book -chat -data -feedback -folder -lti -page -resource -url Perform couple of basic view/add/edit/delete actions inside each module, look for debugging messages The additional check added in this issue may create debugging messages in many areas. Listed are ones that are not covered by behat yet
    • BACKEND Sprint 11

      Part 1. Cleaning up events course_module_viewed and course_module_instance_list_viewed

      In /mod/xxx/view.php we are triggering event course_module_viewed extending \core\event\course_module_viewed

      $event = \mod_xxx\event\course_module_viewed::create($params);

      Sometimes we add record snapshots, sometimes not. Let's agree that we always add snapshot of course and course_modules table and also module table if it is available.

      Also mod_forum defines it's own class 'forum_viewed', workshop has some special class for instance view

      Part 2. Make sure that object passed to add_record_snapshot() has all necessary fields

            marina Marina Glancy
            marina Marina Glancy
            Petr Skoda Petr Skoda
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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