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

Folder resouce displays - 1 bytes for the admin user

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 2.3
    • Filepicker
    • MOODLE_23_STABLE
    • Easy

    Description

      A folder resource displays the following: "Maximum size for new files: -1 bytes - drag and drop available" above the File manager form element.

      Apparently the -1 is displayed when there is no limit to the file size.

      To recreate:

      1. Login as admin and create a folder resource.
      2. Navigate to the folder resource and click edit to launch the file manager form element.

      Expected result:
      The label that informs the user of the file size limit contains an accurate value for maximum file size.

      Actual result:
      The label displays -1 bytes as the maximum value for a file upload, which is incorrect.

      Attachments

        Issue Links

          Activity

            People

              andyjdavis Andrew Davis
              timb Tim Barker
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.