Closed sentry-io[bot] closed 2 years ago
We hit this issue when course staff attempt to export grades to Canvas. We use the ol_openedx_canvas_integration plugin for this functionality, but I can't tell if the error is in the plugin, or elsewhere.
Classes start on Wednesday, so we'd really like to get this fixed before then.
Is course_grade
overloaded and getting confused with the function here?
course_grade
is still the property, What's causing this is graded_subsections_by_format
i suppose which was done here.
Any thoughts on why this wasn't caught in testing earlier? I was told we tested the Canvas integration on mitx-qa with nutmeg before we released in June.
I'm wondering if there's a workaround that we can do while in the meantime.
FYI, we have a test case for this now, currently failing.
You can go to https://mitx-qa.mitx.mit.edu/courses/course-v1:MITx+mkdtest.1+2022_Fall/instructor#view-canvas_integration and click the "push all MITx grades to canvas" button.
Any thoughts on why this wasn't caught in testing earlier? I was told we tested the Canvas integration on mitx-qa with nutmeg before we released in June.
I'm wondering if there's a workaround that we can do while in the meantime.
I'm not sure why it wasn't caught in testing, these changes are 6 months old and we should've been caught. maybe our fork branch wasn't up to date at that moment. I can create a quick PR which I believe should fix it, the problem is testing -- Setting up Canvas integration locally is time taking. Wondering if there is a way to test it on QA.
It would be awesome if you can start on the PR. @shaidar what are our options for testing on QA? Is there a CI instance that's wired into Canvas?
Yeah looks like CI is configured to use Canvas QA
@pdpinch @shaidar https://github.com/mitodl/open-edx-plugins/pull/66 is the PR.
You’re going to have to remind me the URL for CI, and then we can try to find a course that’s set up to test on there.
Yeah looks like CI is configured to use Canvas QA
Please note that i haven't tested https://github.com/mitodl/open-edx-plugins/pull/66 locally since i don't have Canvas set up right now. If we have a CI instance where we can test it we will need to :
1- Generate the package from the PR branch 2 - Install that in the CI instance and test
Just to speed things up and given that it's a super minor change, I just made the change on the worker CI instance manually so that we can quickly test it out.
@arslanashraf7 can this be closed?
@pdpinch yes this can be closed based on:
Closing this.
Sentry Issue: OPENEDX-RESIDENTIAL-514