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

mod_assign: Add missing submission plugins callbacks.

XMLWordPrintable

    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MDL-39760-master
    • Hide

      Make sure that file and online text submissions (when user submit assignment) work as expected in the cases:

      1. User does not require to press submit button (in assignment settings)
      2. User require to press submit button (in assignment settings)
      3. Teacher locks submission
      4. Teacher unlocks submission
      5. In a test case 2, teacher releases submission to draft
      Show
      Make sure that file and online text submissions (when user submit assignment) work as expected in the cases: User does not require to press submit button (in assignment settings) User require to press submit button (in assignment settings) Teacher locks submission Teacher unlocks submission In a test case 2, teacher releases submission to draft

      Currently there are only two callback methods related to assignment submission (mod_assign) student/teacher actions - "save" and "submit_for_grading". It would be good to add some more and improve existing:

      • submit_for_grading could be more useful with $submission parameter (in pre-2.5 versions),
      • Add lock, unlock, release_to_draft callbacks.

      This could be useful for submission plugins that are interacting with external systems to reflect the submission status on the remote side (e.g. lock the submitted work when it is locked by teacher in Moodle)

            kabalin Ruslan Kabalin
            kabalin Ruslan Kabalin
            Damyon Wiese Damyon Wiese
            Sam Hemelryk Sam Hemelryk
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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