Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-25522 get_potential_users fails with ORA-00918 with Oracle
  3. MDL-25854

Same problem exists in search_other_users() function

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: Enrolments
    • Labels:
    • Environment:
      Oracle 11
    • Database:
      Oracle
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Same problem exists in search_other_users() function.

      In file enrol/locallib.php, line 335, the $fields assignment should remove the duplicated columns, e.g.

      $fields = 'SELECT ' . user_picture::fields('u', array('username', 'lastaccess'));

        Attachments

          Activity

            People

            • Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              woolardfa@appstate.edu Fred Woolard
              Tester:
              David Mudrák (@mudrd8mz)
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                21/Feb/11