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

Invalid response when passing a timefrom higher than last message timecreated in get_conversation_messages

    XMLWordPrintable

    Details

    • Sprint:
      Moppies Kanban

      Description

      This error is caused by this line of code. If there are no new messages after the timefrom param, it returns an empty array. However, the WebService core_message_get_conversation_messages expects to return this structure instead of an array.

        Attachments

          Activity

            People

            Assignee:
            davidmatamoros David Matamoros
            Reporter:
            dpalou Dani Palou
            Peer reviewer:
            Paul Holden
            Integrator:
            Jake Dallimore
            Tester:
            CiBoT
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              18/Jan/21

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 21 minutes
                1h 21m