Unplanned
Last Updated: 13 Jul 2023 10:51 by James Shelton Agar
Created by: James Shelton Agar
Comments: 0
Category: Upload
Type: Bug Report
0

Describe the bug

The upload button is not clickable on Mac in Safari

Workaround - http://dojo.telerik.com/egUMImEp/3

To reproduce
Steps to reproduce the behavior:

  1. Open this Dojo example on Mac in Safari - https://dojo.telerik.com/iRiVEYUS
  2. Select a file
  3. Try to click the Upload button

Expected behavior

The upload button should be clickable

Affected package (please remove the unneeded items)

  • theme-default
  • theme-bootstrap
  • theme-material
  • theme-tasks

Affected suites (please remove the unneeded items)

  • Kendo UI for jQuery

Affected browsers (please remove the unneeded items)

  • Safari

Build system information (please remove the unneeded items)

  • OS: Mac
Unplanned
Last Updated: 18 Oct 2022 08:35 by Thomas

Bug report

Scenario 1: When you first select an invalid file and then a valid one, the upload button appears but does nothing.

Scenario 2: When you select a valid file and then an invalid one, if you hit the upload button, the widget will try to upload the invalid one and produce a server error.

Reproduction of the problem

Scenario 1

  1. Open this demo - https://demos.telerik.com/kendo-ui/upload/index
  2. Select a .PNG or another invalid file.
  3. Select a PDF ( or another valid file)

Scenario 2

  1. Open this Demo - https://demos.telerik.com/kendo-ui/upload/index
  2. Select a PDF ( or another valid file)
  3. Select a PNG ( or another invalid file)
  4. Press Upload button

Current behavior

Scenario 1
The Button appears but does nothing

Scenario 2
The widget attempts to Upload the invalid file and produces an error

Expected/desired behavior

Upload of invalid files shouldn't occur and no errors should be thrown;
A non-responding Upload button shouldn't appear.

Environment

  • Kendo UI version: 2022.3.913
  • Browser: [all]
Unplanned
Last Updated: 15 Apr 2020 15:17 by Dan

Bug report

The getFiles method does not return correct results when used in the success event. If you upload a file, the method in the success event will return an array with one item. If you remove a file, the same would return again an array with one item.

Reproduction of the problem

  1. Open this Dojo example.
  2. Upload a file and open the console.
  3. Remove the file.

Current behavior

GetFiles returns an array with one item after removing the file from the list.

Expected/desired behavior

The method should return an empty array.

Environment

  • Kendo UI version: 2020.1.406
  • Browser: [all]
Unplanned
Last Updated: 07 Feb 2020 12:49 by Dave

Bug report

The complete event is triggered after each file upload if chunkSize is set.

Reproduction of the problem

  1. Open this Dojo example.
  2. Select at least two files to be uploaded.

Current behavior

The complete event is triggered for each file after the uploading is done.

Expected/desired behavior

The complete event should trigger only once when the upload process for all files is completed.

Workaround in this Dojo example

Environment

  • Kendo UI version: 2020.1.114
  • Browser: [all]
Unplanned
Last Updated: 05 Jun 2019 09:30 by ADMIN

Reproduction of the Problem:

Dojo: http://dojo.telerik.com/@grabbi/ayiQOGoT

  • Select multiple files in Upload-Widget with not allowed extensions or filesize greater then allowed
  • Remove one File from the list (not the last one)
  • Then the upload of the next file starts

This behaivior only occures when Chunk Upload is selected and some kind of validation is activated too.

Expected behaivior:

When Removing a file the file is just removed from the list and no upload ist starting.

Code:

 

<input name="file" id="file" type="file" />

<script>

    $(document).ready(function () {

        $("#file").kendoUpload({
            async: {
                withCredentials: false,
                saveUrl: "save",
                chunkSize: 2000000,
                saveField: "files",
                autoUpload: false
            },
            validation: {
                maxFileSize: 500
            }
        });
    });

</script>