openedx / openedx/openedx-platform

Disallowed value for gender in create_user_gdpr_testing.py.

Open
#34,142 1 comment 0 reactions 1 assignee View on GitHub

@jerryankur is already working on this.

Since Feb 7, 2024.

Dominant language
Python
Stars
8.2k
Forks
4.4k
Avg merge
6d 18h
Merged PRs (30d)
42

Description

In the create_user_gdpr_testing command, the gender property of the UserProfile is set to 'gdpr test gender':

https://github.com/openedx/edx-platform/blob/2323b3b21aceb96ca05cbd8d805bb2de0e927c9f/openedx/core/djangoapps/user_api/management/commands/create_user_gdpr_testing.py#L94

This value of does not fit in the MySQL column (max_length=6) and does not match any of the allowed values (f, m, o.)

I wonder if anyone has ever been able to run it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.