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

core_message_get_messages returns messages with useridto set to 0

    XMLWordPrintable

    Details

      Description

      The web service function core_message_get_messages doesn't behave the same as in Moodle 3.4. When parameter "useridto" is 0, it returns all messages sent from the user specified in parameter "useridfrom" (as expected), but the list of returned messages all have the property "useridto" set to 0.

      This regression breaks the use of messages in the Moodle Mobile with sites using Moodle 3.5.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markn Mark Nelson
              Reporter:
              albert.gasset Albert Gasset
              Peer reviewer:
              Carlos Escobedo
              Integrator:
              Andrew Nicols
              Tester:
              CiBoT
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Sep/18