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

Fix null timecreated exporter fix from MDL-65252

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.3, 3.10
    • Fix Version/s: None
    • Component/s: Forum
    • Labels:
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_39_STABLE

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jaked Jake Dallimore
              Reporter:
              jaked Jake Dallimore
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: