Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-48200

Assign creates a new empty submission when you view submission page

XMLWordPrintable

    • MOODLE_28_STABLE
    • Hide

      Before:
      1. Create an assignment.
      2. Save it.
      3. View it.
      4. Check in DB that a new assign_submission record was added with either your user id or group id marked as 'status = new'

      AFTER:
      1-4 the same, but no submission is added.

      Show
      Before: 1. Create an assignment. 2. Save it. 3. View it. 4. Check in DB that a new assign_submission record was added with either your user id or group id marked as 'status = new' AFTER: 1-4 the same, but no submission is added.

      I have found a bug that makes has_submission_or_grade function break.

      When you create an assignment and view a submission page, a new submission is created with your User ID as an owner (or group ID, e.g. 0). This bug might have implications within other functions because it makes the assignment think that there is a submission while you did not create any.

            Unassigned Unassigned
            pavel.m.sokolov Pavel Sokolov
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.