lms icon indicating copy to clipboard operation
lms copied to clipboard

Error sending assignment submission

Open mr8bit opened this issue 1 year ago • 4 comments

Describe the bug Error sending assignment Submission

To Reproduce Steps to reproduce the behavior:

  1. Create lesson with assignment
  2. Go to lesson and submit assignment form
  3. See error

Expected behavior The answer to the task was saved and was successfully removed during verification

Screenshots Снимок экрана 2024-01-03 в 04 18 25 Снимок экрана 2024-01-03 в 04 25 13

Desktop (please complete the following information):

  • OS: MacOS
  • Browser Safari

mr8bit avatar Jan 03 '24 01:01 mr8bit

If you look at the code that sends for verification Снимок экрана 2024-01-03 в 04 26 07 then it does not even pass the assignment value, which is later needed to obtain the type of document to send Снимок экрана 2024-01-03 в 04 27 22 And this is where we get the error

mr8bit avatar Jan 03 '24 01:01 mr8bit

@pateljannat Can you explain how Assignment Submission was conceived?

mr8bit avatar Jan 03 '24 01:01 mr8bit

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

mr8bit avatar Jan 03 '24 01:01 mr8bit

https://github.com/frappe/lms/pull/715

mr8bit avatar Jan 07 '24 00:01 mr8bit