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

Remove error console debugging when uploading course files

XMLWordPrintable

      When using drag and drop to upload files to the course page, the following is observed in the browser console:

      15:43:54.905
      Array(4) [ {…}, {…}, {…}, {…} ]
      0: Object { key: "dndmaxbytes", component: "core_error", param: {…} }
      ​​
      component: "core_error"
      ​​
      key: "dndmaxbytes"
      ​​
      param: Object { size: "Unlimited" }
      ​​
      <prototype>: Object { … }
      1: Object { key: "dndread", component: "core_error" }
      2: Object { key: "dndupload", component: "core_error" }
      3: Object { key: "dndunkownfile", component: "core_error" }
      length: 4
      <prototype>: Array []
      first.js:1828:8305
      

      Seems to be a debugging leftover from MDL-76432. Bit disconcerting to keep it now

            pholden Paul Holden
            pholden Paul Holden
            Amaia Anabitarte Amaia Anabitarte
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 42 minutes
                42m

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