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

Incorrect return types definition in get_chats_by_courses get_forums_by_courses and get_databases_by_courses

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.9.2
    • 2.8.9, 2.9.3
    • Web Services
    • MOODLE_29_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MDL-51565-master
    • Hide

      This test is mostly to check that nothing has broken:

      1. Enable Mobile services in Moodle via Plugins -> Web Services -> Mobile
      2. Access to a course (that have a chat, forum and database activity) using the latest version of the Mobile app
      3. Confirm that once inside the activities you see the name correct
      Show
      This test is mostly to check that nothing has broken: Enable Mobile services in Moodle via Plugins -> Web Services -> Mobile Access to a course (that have a chat, forum and database activity) using the latest version of the Mobile app Confirm that once inside the activities you see the name correct

    Description

      Course is defined as PARAM_TEXT

      'course' => new external_value(PARAM_TEXT, 'Course id'),

      Timemodified is incorrect in some components too.

      The name is not formatted using external_format_string, and the returned param type is also incorrect.

      Attachments

        Activity

          People

            jleyva Juan Leyva
            jleyva Juan Leyva
            Jun Pataleta Jun Pataleta
            Andrew Lyons Andrew Lyons
            cameron1729 cameron1729
            Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Nov/15