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

Improve error handling when participant attempts to access assignment submission page after cutoff date

XMLWordPrintable

      Currently, when a participant uses the direct URL to access the Edit submission page (.../assign/view.php?id=...&action=editsubmission) for an assignment, after it's cutoff date, they are confronted with a generic 'error/nopermission' notification without any further explanation.

      This is particularly unfriendly to users who may use their browser history or a direct link to this page left by a course teacher to make or edit their assignment submission.

      The suggested improvement would be as follows:

      When a user accesses this page after the cutoff date, they will see a message explaining this action / page is no longer available, e.g.:

      'You are trying to access a page that is no longer available to you. The deadline for this assignment was {$>deadline}, the cut-off date was {$>cutoffdate), today is {$->datetime}. Click here to return to the submission status page for this assignment.'

      From a technical point of view:

      • User accesses the Edit submission page
      • Check to see if there's a cutoff date / deadline / late submissions are allowed
        • If cutoff date and/or no late submissions allowed -> Display message
        • If no cutoff date and/or late submissions allowded -> Proceed to edit submission page

      This would greatly improve how participants are informed of performing an action that is 'currently unavailable' to them.

            Unassigned Unassigned
            jwelshoff Joost Elshoff
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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