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

Replace maxbytes error with custom language string

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.3
    • Fix Version/s: 3.1
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide
      1. Attempt to upload a file larger than the maximum file size (maxbytes) but smaller than the server limit: post_max_size (php.ini).
      2. Confirm that the maximum file size is displayed on the error page.
      3. Using the repository plugin, attempt to upload a file larger than the maximum file size (maxbytes) but smaller than the server limit: post_max_size (php.ini).
      4. Confirm that the maximum file size is displayed on the error page.
      Show
      Attempt to upload a file larger than the maximum file size (maxbytes) but smaller than the server limit: post_max_size (php.ini). Confirm that the maximum file size is displayed on the error page. Using the repository plugin, attempt to upload a file larger than the maximum file size (maxbytes) but smaller than the server limit: post_max_size (php.ini). Confirm that the maximum file size is displayed on the error page.
    • Affected Branches:
      MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-53577_master

      Description

      When users attempt to submit a file larger than the limit, they get the error, "The file is larger than the maximum size allowed." This is the maxbytes language string which appears in other areas of Moodle.

      To give more helpful information, we'd like to create a new language string (capable of accepting HTML) so we can direct users to the Moodle support site for additional help. This language string should then replace maxbytes in the error message.

        Attachments

          Activity

            People

            Assignee:
            jinhofer Joseph Inhofer
            Reporter:
            jinhofer Joseph Inhofer
            Peer reviewer:
            Andrew Nicols
            Integrator:
            Dan Poltawski
            Tester:
            David Monllaó
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              23/May/16