Completed
Last Updated: 18 Mar 2020 18:01 by ADMIN
Release 2020.R2
Stig
Created on: 27 Feb 2020 11:55
Category: FileManager
Type: Bug Report
0
FileManager - additional data cannot be sent along with the uploaded file

Bug report

Reproduction of the problem

Dojo example.

  1. Open the browser dev tools (Network tab)
  2. Select a file for upload in the FileManager
  3. Check the data sent with the request to the Upload end point

Current behavior

The additional data set in the upload event handler (e.data) is not sent with the request.

Expected/desired behavior

The additional data is sent with the request.

The following dojo example contains a workaround:

<script>
  kendo.ui.FileManager.fn._sendUploadPathParameter = function(ev) {
    ev.data = $.extend(ev.data, { path: this.path() });
  };
</script>

Environment

  • Kendo UI version: 2020.1.219
  • jQuery version: x.y
  • Browser: [all ]
0 comments