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

Moodle removes spaces in courses shortname in "bulk user actions"

    Details

    • Testing Instructions:
      Hide
      1. Create a course with a short name containing a space.
      2. Enrol users in that course
      3. Go to the bulk user actions page (Administration)
      4. Add a filter on the course role, and type the course short name in the field
      5. Validate the search
      6. Make sure the right users are returned
      7. Make sure the space wasn't stripped out of the course shortname
      Show
      Create a course with a short name containing a space. Enrol users in that course Go to the bulk user actions page (Administration) Add a filter on the course role, and type the course short name in the field Validate the search Make sure the right users are returned Make sure the space wasn't stripped out of the course shortname
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-43789_master

      Description

      Hi,

      I'm not sure if it's a bug or not, but when I use the "Bulk user action" to retrieve users of one course, Moodle removes all spaces of my filter's content. For example if I want users of the course with the shortname "UE 103", Moodle returns :

      Course role error: course "UE103" does not exist

      So I can't filter courses with spaces in shortname.

      I hope my explanations are straightforward.

      Best regards,
      Sylvain

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/May/14