Skip to content

Fixed bug in import_course_on_site_creation call - #556

Merged
OmarIthawi merged 1 commit into
appsembler/tahoe/developfrom
omar/course-async
Apr 3, 2020
Merged

Fixed bug in import_course_on_site_creation call#556
OmarIthawi merged 1 commit into
appsembler/tahoe/developfrom
omar/course-async

Conversation

@OmarIthawi

@OmarIthawi OmarIthawi commented Apr 3, 2020

Copy link
Copy Markdown

Now using serializable kwargs so tasks can run for real 😅.

We don't have a test for the actual call yet in the Registration class so I've refactored the call into a helper function so we keep the minimize the uncovered code. Not clean, but effective in my opinion.

https://github.com/appsembler/edx-platform/blob/48506597a3053a865484a05582a017443b8c0c13/openedx/core/djangoapps/appsembler/sites/serializers.py#L139-141

@melvinsoft melvinsoft 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.

Thanks @OmarIthawi !

Now using serializable kwargs so tasks can run
@OmarIthawi

Copy link
Copy Markdown
Author

@melvinsoft I'm done with this. Please feel free to merge and deploy if the tests passes.

@OmarIthawi
OmarIthawi merged commit c8599d3 into appsembler/tahoe/develop Apr 3, 2020
@OmarIthawi
OmarIthawi deleted the omar/course-async branch April 3, 2020 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants