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

Invalid response from message_get_profile WS

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: Messages
    • Labels:

      Description

      The messagearea_get_profile can fail due to the renderable returning get_string($this->country, 'countries'); in export_for_template but the WS expecting core_user::get_property_type('country').

      Example -

      country => Invalid response value detected: Invalid external api response: the value is "New Zealand", the server was expecting "alpha" typeError code: invalidresponse

        Attachments

          Activity

            People

            Assignee:
            markn Mark Nelson
            Reporter:
            markn Mark Nelson
            Peer reviewer:
            Ryan Wyllie
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: