LEARNER-5185 Fix bug in cert generation for passing users who become approved
Because of the way async tasks pass arguments, we were passing in a string of a dictionary that contained the id verification status but checking it against a dictionary in the task's function, which was causing errors for generating certificates for passing users whose id verification status changes to approved after they are passing.
Showing
- lms/djangoapps/certificates/signals.py 2 additions, 1 deletionlms/djangoapps/certificates/signals.py
- lms/djangoapps/certificates/tasks.py 9 additions, 0 deletionslms/djangoapps/certificates/tasks.py
- lms/djangoapps/certificates/tests/test_signals.py 3 additions, 13 deletionslms/djangoapps/certificates/tests/test_signals.py
Please register or sign in to comment