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

get_my_remotecourses() don't load all remote courses assignments

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.9
    • Fix Version/s: 1.8.7, 1.9.3, 2.0
    • Component/s: MNet
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      The query of get_my_remotecourses() starts with c.remoteid, when get_records_sql creates the objects array, if the user have remote course assignments to courses of diferent hosts with the same remoteid get_my_remotecourses() don't load all the remote course assignments.

      I have attached the patch with c.id field added to the query.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/Oct/08