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

Replace Legacy events - Assessable content

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6
    • Component/s: Events API
    • Labels:
    • Testing Instructions:
      Hide
      1. Create an assignment with both files and text submission types.
      2. Save your submission
      3. Edit and save your submission
      4. Submit your submission for grading
      1. Create a mod_assignment with 'online text', another one with single file, and another one with multiple files.
      2. Create a submission in each of them
      3. Edit and save your submission
      4. Send your submission for grading
      1. Post a forum post with attachments and embedded files
      1. Create a workshop
      2. Post a submission
      3. Edit and save your submission
      4. Submit your submission for grading (if option exists)

      You should not see any error, notice or warning along the way.

      Show
      Create an assignment with both files and text submission types. Save your submission Edit and save your submission Submit your submission for grading Create a mod_assignment with 'online text', another one with single file, and another one with multiple files. Create a submission in each of them Edit and save your submission Send your submission for grading Post a forum post with attachments and embedded files Create a workshop Post a submission Edit and save your submission Submit your submission for grading (if option exists) You should not see any error, notice or warning along the way .
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-39954-master
    • Story Points:
      40
    • Sprint:
      BACKEND Sprint 3

      Description

      Replace all legacy events related to Assessable content.
      mod/assign/locallib.php: events_trigger('assessable_submitted', $eventdata);
      mod/assign/locallib.php: events_trigger('assessable_submitted', $eventdata);
      mod/assign/locallib.php: events_trigger('assessable_submitted', $eventdata);
      mod/assign/submission/file/locallib.php: events_trigger('assessable_file_uploaded', $eventdata);
      mod/assign/submission/onlinetext/locallib.php: events_trigger('assessable_content_uploaded', $eventdata);
      mod/assignment/type/online/assignment.class.php: events_trigger('assessable_content_uploaded', $eventdata);
      mod/assignment/type/upload/assignment.class.php: events_trigger('assessable_file_uploaded', $eventdata);
      mod/assignment/type/upload/assignment.class.php: events_trigger('assessable_files_done', $eventdata);
      mod/assignment/type/uploadsingle/assignment.class.php: events_trigger('assessable_file_uploaded', $eventdata);
      mod/forum/lib.php: events_trigger('assessable_content_uploaded', $eventdata);
      mod/workshop/submission.php: events_trigger('assessable_content_uploaded', $eventdata);

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fred Frédéric Massart
              Reporter:
              ankit_frenz Ankit Agarwal
              Peer reviewer:
              Adrian Greeve
              Integrator:
              Dan Poltawski
              Tester:
              Jérôme Mouneyrac
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13