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

core_user_get_users_by_id - ERRORCODE: invalidresponse

    XMLWordPrintable

Details

    • PostgreSQL
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MDL-36773-master
    • Hide

      phpunit moodlelib_testcase lib/tests/moodlelib_test.php
      If no issue caused by moodlelib_testcase::test_clean_param_timezone, then it works fine.

      Show
      phpunit moodlelib_testcase lib/tests/moodlelib_test.php If no issue caused by moodlelib_testcase::test_clean_param_timezone, then it works fine.

    Description

      When making web service calls to core_user_get_users_by_id, we're noticing that some users with timezones of numeric values (such as 10.0) are returning errors. We upgraded from Moodle 2.0.x and those were working fine before using the old moodle_user_get_users_by_id call. The difference seems to be the PARAM checking type, where before it was ALPHANUMEXT, now it is TIMEZONE.

      Attachments

        Issue Links

          Activity

            People

              jerome Jérôme Mouneyrac
              marcusboon Marcus Boon
              Rajesh Taneja Rajesh Taneja
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Jan/13