Unplanned
Last Updated: 25 Aug 2021 14:47 by Luca

Bug report

When a node in the TreeView of a Kendo UI FileManager is selected, then the parent node is collapsed, and re-expanded, the selection is removed.

Reproduction of the problem

  1. Go to the following Progress Kendo UI Dojo.
  2. Expand the Root node
  3. Select Folder Inner 1
  4. Collapse Root
  5. Re-expand Root

Current behavior

The selected node within a parent after collapsing and expanding will lose its selection. Here is a screencast of the above in action.

Expected/desired behavior

The selection should persist even upon expanding/collapsing parent nodes.

Environment

  • Kendo UI version: 2021.2.616
Unplanned
Last Updated: 04 May 2021 07:22 by Guilherme

Bug report

Calling the loaded method on a FileEntry instance does not reset the loaded flag.

function onNavigate(e) {
            var filemanager = e.sender;
            var path = e.path;
            var entry = filemanager.dataSource.get(path);
            if (entry.loaded()) {
                entry.loaded(false);
            }
        }

Reproduction of the problem

  1. Run this dojo
  2. On the TreeView section of the Filemanager navigate to both folders, so the contents of the folders are loaded
  3. Navigate between the Folders using the TreeView and note the loaded flag is not reset

Current behavior

Calling entry.loaded(false); does not reset the loaded flag of a FileEntry instance.

Expected/desired behavior

Calling entry.loaded(false); should reset the loaded flag of a FileEntry instance.

Environment

  • Kendo UI version: 2021.1.330
  • Browser: [all]
Unplanned
Last Updated: 25 Mar 2021 11:13 by Vishal

Bug report

In mobile devices, when a nested folder is renamed in the FileManager, the parent folder is displayed in the dialog for renaming.

Reproduction of the problem

  1. Open our Demos and choose a mobile device in the emulator
  2. Create a nested folder and try to rename it.

Current behavior

The parent folder name is displayed in the dialog for renaming. The parent folder is renamed after saving (screencast)

Expected/desired behavior

It should be possible to rename nested folders on mobile devices.

Environment

  • Kendo UI version: 2021.1.224
  • 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: 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.
Unplanned
Last Updated: 25 Dec 2020 11:05 by ADMIN
So my filemanager on page load, loads the root directory.  I I wish to call the method navigate(folderpath) for a subfolder (https://docs.telerik.com/kendo-ui/api/javascript/ui/filemanager/events/navigate) but it does not work because I haven't loaded that subfolder yet using the normal navigation methods provided directly by the filemanager.  The navigate call does not call read on the datasource the same as clicking on a folder does in filemanager.  Hence I get the error cannot get loaded property of undefined or null ref.
Unplanned
Last Updated: 04 Dec 2020 10:57 by ADMIN
Created by: Anna
Comments: 1
Category: FileManager
Type: Bug Report
0

As of version  "@types/kendo-ui": "2020.3.0":

FileManager methods: path, view, getSelected, getSize have return type void, which is a pain to handle since it can't even be cast to bool.

FileManager method navigate doesn't accept params, should accept string 'path'.

FileManager method executeCommand doesn't accept params, should accept as per https://docs.telerik.com/kendo-ui/api/javascript/ui/filemanager/methods/executecommand .

FileManagerContextMenu interface is missing all event handlers: close, open, activate, deactivate, select.

The following are not exposed:
- kendo.data.schemas
- kendo.ui.filemanager.commands

 

 
Unplanned
Last Updated: 04 Dec 2020 10:34 by ADMIN
Created by: Anna
Comments: 1
Category: FileManager
Type: Bug Report
0

Follow steps in sample at https://dojo.telerik.com/@GaloisGirl/OJUPoYOY/8

  • Actual result: the call to "create" has no information that the new folder should be created in "folder 1"
  • Expected result: the call to "create" should contain information about the path, for my back-end to create an entry in the correct place

Probably related to https://feedback.telerik.com/kendo-jquery-ui/1473893-filemanager-no-path-passed-to-datasource-read-method / https://github.com/telerik/kendo-ui-core/issues/5890

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: 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: 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: 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: 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: 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]
Unplanned
Last Updated: 11 Aug 2020 07:26 by Fabrizio
Created by: Fabrizio
Comments: 0
Category: FileManager
Type: Bug Report
2

Bug report

Reproduction of the problem

  1. Reproducible in the demos: https://demos.telerik.com/kendo-ui/filemanager/index
  2. Type in "Doc" in the FileManager's search input
  3. Double-click the Documents folder
  4. Clear the search input
  5. Click the Home icon in breadcrumb

Current behavior

The FileManager shows only the Documents folder

Expected/desired behavior

The FileManager shows all folders on root level (Documents and Images)

Environment

  • Kendo UI version: 2020.2.617
  • jQuery version: x.y
  • Browser: [all]
Declined
Last Updated: 06 Jul 2020 13:31 by ADMIN

Run sample at https://dojo.telerik.com/@GaloisGirl/axacOhOC and click "New Folder".

  • Actual result: SyntaxError: missing ) in parenthetical
  • Expected result: a new folder appears
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>


Unplanned
Last Updated: 23 Apr 2020 11:30 by ADMIN
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: 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 ]
Unplanned
Last Updated: 16 Mar 2020 06:17 by ADMIN

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

1 2