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

Creating a assignment_uploadsingle activity ends in a fatal error

    XMLWordPrintable

Details

    • MOODLE_26_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • MDL-43438-master
    • 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

    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

              fred Frédéric Massart
              fred Frédéric Massart
              Damyon Wiese Damyon Wiese
              Sam Hemelryk Sam Hemelryk
              Sam Hemelryk Sam Hemelryk
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Jan/14