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

Assignment module, feedback file plugin, batch upload feedback files uses incorrect constant name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide
      1. Ensure debugging level is set to developer
      2. Create an assignment and enable feedback files
      3. Go to the grading table for assignment, select some students and choose "Send feedback files" from the menu underneath the grading table
      4. Click go and accept the confirmation, you will see a page with a form for uploading the files.
      5. VERIFY No warnings appear
      Show
      Ensure debugging level is set to developer Create an assignment and enable feedback files Go to the grading table for assignment, select some students and choose "Send feedback files" from the menu underneath the grading table Click go and accept the confirmation, you will see a page with a form for uploading the files. VERIFY No warnings appear
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:

      Description

      Replication steps:

      1. Ensure debugging level is set to developer
      2. Create an assignment and enable feedback files
      3. Go to the grading table for assignment, select some students and choose "Send feedback files" from the menu underneath the grading table
      4. Click go and accept the confirmation, you will see a page with a form for uploading the files.

      Expected result: No warning printed at top of page

      Actual result: Warning printed at top of page

      Notice: Use of undefined constant ASSIGNFEEDBACK_BATCHFILE_FILEAREA - assumed 'ASSIGNFEEDBACK_BATCHFILE_FILEAREA' in /git/working/moodle23/mod/assign/feedback/file/batchuploadfilesform.php on line 61

      Should be ASSIGNFEEDBACK_FILE_BATCH_FILEAREA

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/12