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

Fix null timecreated exporter fix from MDL-65252

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 3.9.3, 3.10
    • Forum
    • MOODLE_310_STABLE, MOODLE_39_STABLE

      This is about including a fix that was included in 3.11 and master only as part of a deprecation, in stables. The same bug exists in stables too.

      The web service method "get_discussion_posts" will not properly include deleted posts as the timecreated value on the post is set to null (see https://github.com/snake/moodle/blob/883ded96ae59bd3b9497873035bd7fbc18e9c760/mod/forum/classes/local/exporters/post.php#L412)

      You can find the commit which includes the fix here:
      https://github.com/moodle/moodle/commit/883ded96ae59bd3b9497873035bd7fbc18e9c760

      In addition to pulling the fix in, we'll want to include the test method included there too. Right now, this isn't a case that's covered in stables.

            jaked Jake Dallimore
            jaked Jake Dallimore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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