-
Bug
-
Resolution: Fixed
-
Minor
-
3.4.3, 3.5
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MDL-62605-master -
The unenrol modal states a question in which the course fullname has not passed filters.
To reproduce:
- Have two languages (e.g. ru and en) installed.
- Have multilang filter active.
- Create a course, call it <span lang="en" class="multilang">Course</span><span lang="ru" class="multilang">курс</span>.
- Have a student manually enrolled in that course.
- Go to the participants page.
- Try to unenrol the student from the course by clicking the trash bin icon.
- A modal pops up, asking for confirmation.
WHAT YOU EXPECT:
It says "Do you really want to unenrol "Sam Student" (previously enrolled via "Manual enrolments") from "Course"?", respecting the multilang filter.
WHAT ACTUALLY HAPPENS:
It says "Do you really want to unenrol "Sam Student" (previously enrolled via "Manual enrolments") from "Courseкурс"?, not respecting the multilang filter.