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

    • 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

            davidmatamoros David Matamoros
            dpalou Dani Palou
            Paul Holden Paul Holden
            Jake Dallimore Jake Dallimore
            CiBoT CiBoT
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona), Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              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