-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: gender field in create_user_gdpr_testing script #34199
Conversation
Thanks for the pull request, @jerryankur! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
hi @pomegranited , can you review this as well. |
Hi @jerryankur , I am not sure when I'll be able to review this.. Other core contributors might be able to get to it sooner? |
Hi @jerryankur , thank you for this fix! It gets around the first error thrown by this management command, but then there is another error.
Could you please fix the rest of these errors, and add a test that validates that this management command runs and creates the expected data? Examples of management command tests in the platform can be found here: |
Nudge @jerryankur 😃 |
Updated status to |
Thanks @justinhynes! Do you know if this |
@pomegranited thanks for your feedback. i will have a look on it. i was unavailable for a week. |
No worries at all @jerryankur. It's part of my job to check in here, so I do it :) But it's ok if you don't have time to respond; we can pick up again whenever you do. Thank you for your time! |
Unfortunately, I don't. Our team only recently has picked up maintainer duties for the |
I don’t know. Do you think GDPR compliant is something unimportant for Open edX to be? Do you think the user retirement pipeline is so well documented and so trivial to set up that it doesn’t need testing? I’ve spent the week trying to set up retirement. The Tutor plugin has out of order steps which cause the LMS to return Bad Request errors with no explanation, it has irrelevant steps, the ecommerce is missing the user retirement API endpoint, and the LMS is missing the retire_mailings endpoint. I’ve already exhausted 21 GDPR test users, very glad I didn’t have to register those manually and only had to fix the create_user_gdpr_testing command (which involved changing the gender to |
No, I think it's important for Open edX to continue with its GDPR compliance efforts.
I wish this were the case, but no.. retirement pipeline isn't easy to set up, and I don't know how accurate the docs are anymore. But glad to hear this management command was useful for your testing, so we should keep it :) Do you want to submit your fixes to a new PR, and we can close this one? |
I’ll try doing that in the next few days. I’ve finally managed to get the pipeline to run with the services we use, except for ecommerce, where I can’t find a trace of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just marking as changes requested in the comment here by @pomegranited,
@obscherler, I'd suggest asking on slack, since this seems more like a request for assistance getting the pipeline running than a clearly defined bug report. |
Thank you, and no rush. :)
Does this comment on
edX uses Segment for a lot of things, but I don't think much of this made it out to the community. The tubular script references this endpoint too, so maybe this script's reference to But ya, the edx-platform migration for these scripts is probably the best place to ask questions, e.g on this Slack thread. |
Hi @jerryankur and @obscherler , it's been a while since there's been any action on this PR, so I'm going to close it out. |
@jerryankur Even though your pull request wasn’t merged, please take a moment to answer a two question survey so we can improve your experience in the future. |
Description
In the create_user_gdpr_testing script, the gender property of the UserProfile was set to 'gdpr test gender', which is more than max_length=6 defined in User Model.
#34142
This PR fixes the issue to assign the correct choice 'o' (out of 'f', 'm', 'o').