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

Mixed messages from Canvas when passing back a score of 0 to Canvas via LTI Advantage #1977

Closed
kreut opened this issue Nov 17, 2021 · 4 comments

Comments

@kreut
Copy link

kreut commented Nov 17, 2021

Summary:

When passing back a grade of 0 using LTI Advantage, Canvas accepts the grade (as I think it should), but marks the passed back assignment as something that needs to be graded. This can be confusing to the instructors as they are unsure whether the grade was passed back or not.

Steps to reproduce:

Use LTI Advantage 1.3 to pass back the grade

Expected behavior:

I would expect that receiving a score of 0 would be valid and be considered "graded".

Actual behavior:

Canvas makes it looks like the assignment still needs to be graded
Screen Shot 2021-11-17 at 6 53 17 AM
Screen Shot 2021-11-17 at 6 51 20 AM

But if you look at the header, the student has a score of 0/1 and it is marked as graded:

Screen Shot 2021-11-17 at 6 51 36 AM

Additional notes:

@Ardena
Copy link
Contributor

Ardena commented Nov 25, 2021

The SpeedGrader image is showing that the student is not graded. If the student was graded, it should show a 0 in the box under "grade out of 10". The header is showing that 0 out of 1 student are graded, and you are viewing student 1 of 1.

It looks to me like the grade didn't go through at all.

@kreut
Copy link
Author

kreut commented Dec 1, 2021

Hi Ardena,

My apologies! You are correct in that my example is not highlighting the issue in the correct way. What I should have done was to state that Canvas is sending back this as a message:

https://some-school.instructure.com/api/lti/courses/123/line_items/456/results/789

(numbers made up)

This would indicate that the grade pass back was successful; when it's not successful, Canvas sends back an error. To me, this is evidence that the score was received by Canvas yet it's being displayed in Canvas as something that needs to be graded.

@kreut
Copy link
Author

kreut commented Mar 23, 2022

After digging into the library (https://github.com/IMSGlobal/lti-1-3-php-library) I'm using, I see the problem: it's not Canvas's issue. I've submitted a bug report to the author of the library: 1EdTech/lti-1-3-php-library#70.

@kreut kreut closed this as completed Mar 23, 2022
@Ardena
Copy link
Contributor

Ardena commented Mar 23, 2022

Sorry, I didn't notice this update. We have been working on giving better error messages when things are failing. I'm not sure if I've seen this one, but that does not sound like a great way of letting you know there was a failure. :)

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

No branches or pull requests

2 participants