Skip to content
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

Post save CourseRunCertificate signal doesn't work #2365

Closed
annagav opened this issue Aug 27, 2024 · 2 comments · Fixed by #2388
Closed

Post save CourseRunCertificate signal doesn't work #2365

annagav opened this issue Aug 27, 2024 · 2 comments · Fixed by #2388
Assignees
Labels
bug Something isn't working product:mitx-online

Comments

@annagav
Copy link
Contributor

annagav commented Aug 27, 2024

The program certificates don't get created for DEDP (maybe other programs too) as a result of a post_save signal from CourseRunCertificate.
Related issue https://github.com/mitodl/hq/issues/5287

Expected Behavior

Program certificates should get generated automatically for all live programs.

Current Behavior

Users not getting their program certificates.

Steps to Reproduce

Get certificates for all course requirements in the program. On creation the signal should call generate_program_certificate, but it doesn't.

@annagav annagav added the bug Something isn't working label Aug 27, 2024
@pdpinch
Copy link
Member

pdpinch commented Aug 27, 2024

Can signals log errors?

@annagav
Copy link
Contributor Author

annagav commented Aug 28, 2024

Yes, I can have a signal log something, but not if it never gets called.

I played around with this and it looks like when I manually import the signal in the django shell then it seems to work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product:mitx-online
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants