Skip to content
This repository was archived by the owner on Nov 12, 2023. It is now read-only.

SE-1155 Allows unicode usernames to be used in CCX enrollments and reports. - #11

Merged
samuelallan72 merged 2 commits into
opencraft-release/ginkgo.2-campusfrom
samuel/fix-ccx-unicode-campus
Aug 7, 2019
Merged

SE-1155 Allows unicode usernames to be used in CCX enrollments and reports.#11
samuelallan72 merged 2 commits into
opencraft-release/ginkgo.2-campusfrom
samuel/fix-ccx-unicode-campus

Conversation

@samuelallan72

@samuelallan72 samuelallan72 commented Aug 7, 2019

Copy link
Copy Markdown

Previously, unicode would result in a UnicodeEncodeError as a result of
the format string being str instead of unicode.

Additionally, the log calls would crash with a traceback (while not
affecting the program flow).

(cherry picked from commit 54f9434)

Sandbox:

Testing:

See https://github.com/edx/edx-platform/pull/21248

Settings

EDXAPP_FEATURES:
  CUSTOM_COURSES_EDX: true
  ENABLE_UNICODE_USERNAME: true

Previously, unicode would result in a UnicodeEncodeError as a result of
the format string being str instead of unicode.

Additionally, the log calls would crash with a traceback (while not
affecting the program flow).

(cherry picked from commit 54f9434)

@pomegranited pomegranited left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment thread lms/djangoapps/ccx/utils.py
@samuelallan72
samuelallan72 merged commit 64bbdd8 into opencraft-release/ginkgo.2-campus Aug 7, 2019
@samuelallan72
samuelallan72 deleted the samuel/fix-ccx-unicode-campus branch August 7, 2019 06:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants