Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-30644

Problems with assignment submissions that were created prior to 10.6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 10.6
    • Fix Version/s: 10.7
    • Component/s: Assignments
    • Labels:
      None
    • 11 status:
      Resolved
    • 10 status:
      Resolved

      Description

      Because of the new attribute added in SAK-29314 (isUserSubmission) and the conversion needed on that that's difficult (seems to still fail) and takes a long time if you have even a moderate level of submission to run I suggest we have a code solution to fix prior submission problem. If submissions created prior to a 10.6 assignment upgrade they won't work correctly because they don't have the isSubmission attribute. I think it's easier to do something with this in the code than in a conversion.

      I believe that the problem here is that these calls are calling

      getBool(el.getAttribute(SUBMISSION_ATTR_IS_USER_SUB));
      

      getBool turns a null into a false, so it is not able to tell really if it's false or just not set. If it's not set, it should use the some other logic to try to determine if it's a submitted attachment.

      (If either of these are true it's always a user submission)

      • Does the submission have any attachments or text?
      • Is the submission type non-electronic

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  bjones86 Brian Jones
                  Reporter:
                  jonespm Matthew Jones
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration