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

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

    XMLWordPrintable

Details

    • MOODLE_26_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MDL-43789_master
    • 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

    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

      Attachments

        Activity

          People

            rajeevs1992 Rajeev S
            smora1 Sylvain Mora
            Frédéric Massart Frédéric Massart
            Dan Poltawski Dan Poltawski
            Simey Lameze Simey Lameze
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              12/May/14