lms
lms copied to clipboard
Error sending assignment submission
Describe the bug Error sending assignment Submission
To Reproduce Steps to reproduce the behavior:
- Create lesson with assignment
- Go to lesson and submit assignment form
- See error
Expected behavior The answer to the task was saved and was successfully removed during verification
Screenshots
Desktop (please complete the following information):
- OS: MacOS
- Browser Safari
If you look at the code that sends for verification
then it does not even pass the assignment value, which is later needed to obtain the type of document to send
And this is where we get the error
@pateljannat Can you explain how Assignment Submission was conceived?
Found a similar problem on the forum https://discuss.frappe.io/t/assignment-type-assignment-details-type-attributeerror-nonetype-object-has-no-attribute-type/111157
https://github.com/frappe/lms/pull/715