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

Creating a assignment_uploadsingle activity ends in a fatal error

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • Enable Assignment 2.2
      1. Create a new activity of each Assignment 2.2 type
      2. File in their form and click 'Submit and display'
      3. Make sure the next page is displayed without error
      Show
      Enable Assignment 2.2 Create a new activity of each Assignment 2.2 type File in their form and click 'Submit and display' Make sure the next page is displayed without error
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-43438-master

      Description

      1. Enable Assignment 2.2
      2. Create a new activity Upload a single file
      3. File in the form and click 'Submit and display'

      Expected

      • The activity is created and you're redirected to the activity

      Actual

      • The following fatal error occurs:

        Fatal error: Cannot redeclare class assignment_uploadsingle in /Users/fmc/code/php/repositories/i26/moodle/mod/assignment/type/uploadsingle/assignment.class.php on line 443
        

      This worked fine on 2.4 and 2.5

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fred Frédéric Massart
              Reporter:
              fred Frédéric Massart
              Peer reviewer:
              Damyon Wiese
              Integrator:
              Sam Hemelryk
              Tester:
              Sam Hemelryk
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Jan/14