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

Unit test failure messages mangle UTF8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.4, 2.2.1, 2.3
    • Fix Version/s: 2.1.5, 2.2.2
    • Component/s: Unit tests
    • Labels:
    • Testing Instructions:
      Hide

      I am kind-of hoping that you can trust me that this fix is right. It solved my problem.

      If you really want to verify it, you need to make a failing unit test with UTF-8 characters in the failure message, then run the test, and make sure the characters come through OK.

      Show
      I am kind-of hoping that you can trust me that this fix is right. It solved my problem. If you really want to verify it, you need to make a failing unit test with UTF-8 characters in the failure message, then run the test, and make sure the characters come through OK.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      I was seeing this when investigating MDL-24394.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stronk7 Eloy Lafuente (stronk7)
                Reporter:
                timhunt Tim Hunt
                Integrator:
                Eloy Lafuente (stronk7)
                Tester:
                Eloy Lafuente (stronk7)
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Mar/12