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

"Selected user's membership" broken (doesn't appear at all)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Groups
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      The "Selected user's membership" list does not appear when selecting a user in the Potential Members list. This appears to be because the user selector has not been properly implemented:

      • init_add_remove_members_page is being called (in group/members.php, at the end) using $PAGE->requires->js_function_call instead of $PAGE->requires->js_init_call, so it does't get Y passed in to it
      • M.core_user.get_user_selector is also not present, as user/selector/module.js has not been included
      • the user selectors do not appear to have been initialised correctly from the JS side (M.core_user.get_user_selector('addselect') returns null even when the above two points are resolved)

        Attachments

          Activity

            People

            • Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              paul.n Paul Nicholls
              Tester:
              Nobody
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10