Completed
Last Updated: 14 Dec 2023 12:44 by ADMIN
Release 2020.R3.SP1
Created by: Stig
Comments: 1
Category: FileManager
Type: Bug Report
3

I'm trying to use the delete context method, but when selecting multiple folders and deleting them it sends the same delete request multiple times. The more folders (no subfolders) I try to delete the more requests it sends.

 

My theory is that the datasource somehow doesn't register it has been deleted, so it tries to automatically sync the datasource by sending it again. Note that I'm using a virutal filesystem, but I'm returning the same object as in this sample

 

Also note that I'm using a mix of MVC and Jquery so I have a custom scheme as recommended in some of my previous tickets.

 

This is scheme:

$.extend(true, kendo.data, { schemas: { "filemanager": { data: function (data) { return data.Items || data || []; }, model: { id: "path", hasChildren: "hasDirectories", fields: { entryId: { field: "EntryId", editable: false, type: "Number" }, folderId: { field: "FolderId", editable: false, type: "Number" }, name: { field: "Name", editable: true, type: "String", defaultValue: "New Folder" }, size: { field: "Size", editable: false, type: "Number" }, path: { field: "Path", editable: false, type: "String" }, extension: { field: "Extension", editable: false, type: "String" }, isDirectory: { field: "IsDirectory", editable: false, defaultValue: true, type: "Boolean" }, hasDirectories: { field: "HasDirectories", editable: false, defaultValue: false, type: "Boolean" }, created: { field: "Created", type: "Date", editable: false }, createdUtc: { field: "CreatedUtc", type: "Date", editable: false }, modified: { field: "Modified", type: "Date", editable: false }, modifiedUtc: { field: "ModifiedUtc", type: "Date", editable: false } } } } } });


        $("#document-manager").kendoFileManager({
            dataSource: {
                transport: {
                    read: {
                        type: "post",
                        url: "/FileManager/Read",
                        data: function() {
                            return getFileMetaData()
                        }
                    },
                    update: {
                        type: "post",
                        url: "/FileManager/Rename",
                    },
                    create: {
                        type: "post",
                        url: "/FileManager/Create",
                        data: function () {
                            return getFileMetaData()
                        }
                    },
                    destroy: {
                        type: "post",
                        url: "/FileManager/DeleteEntry"
                    }
                },
            },
            contextMenu: {
                items: [
                    { name: "rename" },
                    { name: "delete" }
                ]
            },
        });

 

And lastly my C# controller method which deletes the folder and returns the same object as in the above mentioned sample:


        [HttpPost]
        public async Task<ActionResult> DeleteEntry(FileManagerEntry deleteDto)
        {
            await _fileManagerService.DeleteEntry(deleteDto);

            return Json(new object[0], JsonRequestBehavior.AllowGet);
        }

 

You can also see in this screencast that it sends the delete request multiple times for the same entry:

https://screencast-o-matic.com/watch/cYfolKzXZs

 

Completed
Last Updated: 28 Feb 2020 08:42 by ADMIN

According to https://docs.telerik.com/kendo-ui/controls/data-management/filemanager/context-menu:

You can define your custom items which can execute custom commands

However, no option allows me to configure my own commands.

I managed to hack this: https://dojo.telerik.com/@GaloisGirl/iLoHIhoh , but it's an ugly solution.

Completed
Last Updated: 30 Oct 2020 10:49 by ADMIN
Release 2020.R3.SP.next

Bug report

With LESS bootstrap theme, the scrollbar does not appear in the ListView if there are too many files.

Reproduction of the problem

  1. Open this Dojo - https://dojo.telerik.com/@martin.tabakov@progress.com/eyuYetOh/6
  2. Upload some files to fill the ListView.

Current behavior

The scrollbar does not appear when there are too many items in the ListView.

Expected/desired behavior

A scrollbar should appear

Environment

  • Kendo UI version: 2020.3.1021
  • Browser: [all]
Completed
Last Updated: 11 Feb 2020 12:41 by ADMIN
Release 2020.R1.SP.next
Created by: Anna
Comments: 1
Category: FileManager
Type: Bug Report
1
  1. Run sample at https://dojo.telerik.com/@GaloisGirl/OJUPoYOY
  2. Click "refresh"
  3. Result
    1. Actual behavior: after clicking "refresh", the new name of the folder appears only in the right pane
    2. Expected behavior: both panes should be updated
Completed
Last Updated: 14 Oct 2020 13:23 by ADMIN
Release 2020.R3.SP.next

Context: my communication with the back-end is wrapped in a library, that handles the xhr requests and if needed, throws a custom exception. My transport is therefore made of functions. The sample below simulates getting an error from that library.

Demo: https://dojo.telerik.com/@GaloisGirl/ayEpOKOQ/2

Actual result:

  1. The confirm dialog stays open.
  2. The listView is displayed as loading.

 

Completed
Last Updated: 06 Jan 2023 15:37 by ADMIN
Release R1.2023-Increment.3(18.Jan.2023)

There is no padding between semicolon and the data "Type:Folder" wouldn't be better "Type: folder" with a space in between?

Completed
Last Updated: 04 Nov 2020 14:51 by ADMIN
Release 2020.R3.SP.next

Bug report

When the FileManager is initialized with a local data source the Context Menu is not displayed.

Reproduction of the problem

  1. Run this dojo
  2. Right-click on a folder of a file

Current behavior

The context menu is not displayed. The Context menu is not expected to be displayed for the built-in rename and delete commands, but a context menu is not displayed when custom commands are implemented.

Expected/desired behavior

A context menu should be displayed when local data source is used.

Environment

  • Kendo UI version: 2020.1.406
  • Browser: [all]
Completed
Last Updated: 22 Mar 2024 08:14 by ADMIN

Bug report

Paging in FileManager's List view does not work as expected. Paging in Grid View behaves as expected.

Reproduction of the problem

  1. Open this Dojo example - https://dojo.telerik.com/@martin.tabakov@progress.com/Aqoxecud/6
  2. Open the Images folder

Current behavior

Only one page is displayed in the pager

Expected/desired behavior

The pager should be updated to show the correct number of pages.

Environment

  • Kendo UI version: 2022.1.119
  • Browser: [all]
Completed
Last Updated: 06 Jul 2023 15:14 by ADMIN
Release R3.2023-Increment.1(19.July.2023)

Bug report

If you try to specify an icon through the ContextMenu items in the FileManager, no icon is rendered.

Regression introduced with 2023.1.117

Workaround: https://dojo.telerik.com/oFuGacAT/14

Reproduction of the problem

  1. Open this Dojo example - https://dojo.telerik.com/oFuGacAT/12
  2. Right-click on an item in the FileManager to open the ContextMenu

Current behavior

No icons are shown in the ContextMenu

Expected/desired behavior

The specified icons should be visible

Environment

  • Kendo UI version: 2023.2.606
  • Browser: [all]
Completed
Last Updated: 27 Jan 2020 13:53 by ADMIN
Release 2020.R1.SP.next
Created by: Anna
Comments: 2
Category: FileManager
Type: Bug Report
0

As can be seen on the screenshot on https://www.telerik.com/support/whats-new/kendo-ui :

  • actual behavior: active view is grid, but highlighted button is list
  • expected behavior: active view and highlighted button match

Completed
Last Updated: 17 Feb 2020 15:48 by ADMIN
Release 2020.R1.SP.next

Reproduction:

  1. open https://demos.telerik.com/kendo-ui/filemanager/keyboard-navigation
  2. select an item
  3. press key "Delete"
  4. press tab, then enter to cancel
  5. result:
    1. actual behavior: focus is away from widget, document.activeElement is <body>
    2. expected behavior: focus should be back on FileManager widget
Completed
Last Updated: 12 Feb 2020 07:28 by ADMIN
Release 2020.R1.SP.next
Created by: Anna
Comments: 1
Category: FileManager
Type: Bug Report
0

I'd like to add a "download" option to the context menu, but only for files, not folders.

Here's what I have so far:  https://dojo.telerik.com/@GaloisGirl/iLoHIhoh
 

Completed
Last Updated: 09 Oct 2020 07:28 by ADMIN

Bug report

Reproduction of the problem

Reproducible in the demos.

  1. Select the Images folder in the treeview
  2. Right click the Images folder and rename it

Current behavior

The breadcrumb does not update with the new folder name. Note that if you select another folder (e.g. Documents) after renaming Images and navigate back to the renamed folder the breadcrumb properly displays its new name.

Expected/desired behavior

The change in the folder name is reflected in the breadcrumb.

Environment

  • Kendo UI version: 2020.1.114
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 18 Mar 2020 18:01 by ADMIN
Release 2020.R2

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 ]
Completed
Last Updated: 10 Jun 2020 13:01 by ADMIN
Created by: LFA
Comments: 1
Category: FileManager
Type: Bug Report
0

Hi, there is a bug in the default multiple files preview template. You can see in the demo if you select more than 1 file the preview icon is very small: https://demos.telerik.com/kendo-ui/filemanager/index

It's because it's missing the k-file-icon class.

<span class="k-icon k-i-file"></span>

Should be:

<span class="k-file-icon k-icon k-i-file"></span>


Completed
Last Updated: 04 Nov 2020 13:37 by ADMIN
Release 2020.R3.SP.next

Hello,

I am using Kendo UI Version: 2020.2.617 R2 SP1 2020 and I am having issues with the Rename functionality of the FileManager in IE 11 and Chrome.

In IE 11, If I rename a Folder from the left navigation pane (or tree view) then it works just fine; the api/FileManager/Update endpoint is called by the FileManager widget. But when I rename a File or Folder from the "view pane" (by right-clicking to get the context menu), then the Open event is executed (like if you double clicked the file) instead of the Update endpoint being called.

In Chrome (latest version), I get the same thing, but with the exception that I can rename a folder (not a File) from the context menu.

My REST API is built using .Net WebAPI… Not MVC.

If you need more information, please do not hesitate to contact me.

Regards,

Eric. 

Completed
Last Updated: 13 Jan 2021 10:48 by ADMIN
Created by: Anna
Comments: 4
Category: FileManager
Type: Bug Report
0

Run sample at https://dojo.telerik.com/@GaloisGirl/OJUPoYOY and check JavaScript log.

  • Actual result: the second call to "read" has empty data, and a second copy of the folder "folder" is shown in the tree.
  • Expected result: the second call to "read" should have a path passed.
Completed
Last Updated: 23 Oct 2020 13:46 by ADMIN
Release 2020.R3.SP.next
Created by: Manoj
Comments: 0
Category: FileManager
Type: Bug Report
0

Bug report

If a FileManager is configured using MVVM an error in the console appears.

Reproduction of the problem

  1. Open the Dojo example
  2. Run the example and open the browser console.

Current behavior

Currently an error appears: "Uncaught TypeError: i.items is not a function"

Expected/desired behavior

There should be no errors when FileManager is configured with MVVM.

Environment

  • Kendo UI version: 2010.2.617
  • Browser: [all ]
Completed
Last Updated: 25 Jan 2021 09:46 by ADMIN
Release 2021.R1.SP.next

Bug report

When the views.grid option of the FileManager is used and the filterable option is enabled, the filter menu is empty. Also the 'Date Created' column is empy.

Reproduction of the problem

  1. Open the Dojo example
  2. Go to the 'Grid View'

Current behavior

Currenlty, the filter menu of the Grid in the 'Grid View' is empty. The 'Date Created' column does not show the dates.

file-manager-filterable-bug

Expected/desired behavior

The filter menu in the 'Grid View' and the 'Date Created' column of the FileManager should be not be empty.

file-manager-expected

Workaround

As a temporary workaround, the fields of the model could be defined with lowercase. Here is a Dojo example where the workaround is applied.

Environment

  • Kendo UI version: 2020.3.1118
  • Browser: [all ]
Completed
Last Updated: 08 Jan 2024 20:37 by ADMIN

Bug report

When an item is selected in the left panel and setDataSource is used in FileManager, the left panel becomes empty. The behavior does not occur if the setDataSource method is used without previously selecting an item.

Reproduction of the problem

  1. Open the Dojo.
  2. Select the 'Documents' folder
  3. Click on the 'Reset data' button.

Current behavior

The left panel in FileManager becomes empty.

Expected/desired behavior

The newly set folders should be displayed even if an item is selected before setting the new dataSource.

Environment

  • Kendo UI version: 2022.3.1109
  • Browser: [all ]
1 2