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

mod_assign: Add missing submission plugins callbacks.

    Details

    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-39760-master

      Description

      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)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    8/Jul/13