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

When unenrolling from a course with self enrolment, the course name does not pass filters.

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MDL-72590-311
    • MDL-72590-master
    • Hide

      Covered by a Behat test.

       

      Manual tests:

      1. Test in Boost and Classic.
      2. Enable multilang filter for content and headers.
      3. As a teacher, create a course and give it Course full name '<span lang="en" class="multilang">Course</span><span lang="it" class="multilang">Corso</span> 1'.
      4. Make the self enrolment method in the course visible.
      5. As a student, enrol to the course.
      6. As a student, unenrol from the course.
      7. Verify the message does not say 'You are unenrolled from the course "CourseCorso 1"' but 'You are unenrolled from the course "Course 1"'.
      Show
      Covered by a Behat test.   Manual tests: Test in Boost and Classic. Enable multilang filter for content and headers. As a teacher, create a course and give it Course full name '<span lang="en" class="multilang">Course</span><span lang="it" class="multilang">Corso</span> 1'. Make the self enrolment method in the course visible. As a student, enrol to the course. As a student, unenrol from the course. Verify the message does not say 'You are unenrolled from the course "CourseCorso 1"' but 'You are unenrolled from the course "Course 1"'.

    Description

      When unenrolling from a course with self enrolment, the course name does not pass filters.


      (This was originally reported here https://github.com/iarenaza/moodle-filter_multilang2/issues/26 by chiaravicere.)

      WHAT YOU EXPECTED

      The confirm message does look good.

      WHAT ACTUALLY HAPPENS
      The confirm message does look weird.

      Attachments

        Activity

          People

            lucaboesch Luca Bösch
            lucaboesch Luca Bösch
            Simey Lameze Simey Lameze
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            CiBoT CiBoT
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8/Nov/21

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 46 minutes
                1h 46m