Completed
Last Updated: 07 May 2020 08:22 by ADMIN
Release 2020.R2
Created by: Greg
Comments: 1
Category: FileManager
Type: Bug Report
0

In the file manager after we move a *directory* with the Tree view (NOT list view), we are getting a javascript error:

kendo.all.min.js:114 Uncaught TypeError: e.closest is not a function
    at init._restoreFocus (kendo.all.js:166158)
    at r.proxy (jquery-3.3.1.js:10268)
    at r.trigger (kendo.all.js:164)
    at r._closeAnimationEnd (kendo.all.js:60234)
    at Object.proxy [as completeCallback] (jquery-3.3.1.js:10268)
    at init.complete (kendo.all.js:10997)
    at Object.S.promise (kendo.all.js:11021)
    at HTMLDivElement.<anonymous> (kendo.all.js:1912)
    at Function.dequeue (jquery-3.3.1.js:4376)
    at HTMLDivElement.<anonymous> (jquery-3.3.1.js:4418)

 

This seems to be in kendo.all.js  and I believe it is being called after the modal closes

 

which I thinki s being called from this:

 _prompt: function (options) {
                var that = this, messages = this.options.messages.dialogs[options.type + 'Prompt'];
                var prompt = $('<div></div>').kendoPrompt(extend({}, {
                    title: messages.title,
                    content: messages.content,
                    messages: messages,
                    value: options.defaultInput
                }, this.options.dialogs[options.type + 'Prompt'])).data('kendoPrompt');
                prompt.bind(OPEN, proxy(that._cacheFocus, that));
                prompt.bind(CLOSE, proxy(that._restoreFocus, that, options.target));
                prompt.open();
                prompt.wrapper.removeClass('k-prompt');
                return prompt.result;
            },

 

 

 

I think it's trying to locate the target of the directory that was moved - which is no longer there - and set focus to it.

I was trying to bind to the CLOSE event of the move dialog and set it to null to avoid the _restoreFocus call?

Not sure if that's even a good approach to take.

What are your thoughts?  Thank you.

Unplanned
Last Updated: 06 May 2020 10:28 by ADMIN

Open the demo at https://demos.telerik.com/aspnet-mvc/filemanager

right click Images in the tree and click rename. 

Change the name

select the new folder name in the tree

try to do anything with the files in that folder (rename or delete are available in the demo)

= server error 500 

 

the path did not update to the new path.

but if you refresh you see the folder renamed and worked (and now you can do things with the files inside)

 

 

now if you add a folder inside Images and do the same process over again it works as expected...

Unplanned
Last Updated: 29 Apr 2020 12:40 by ADMIN
Created by: Greg
Comments: 1
Category: FileManager
Type: Bug Report
1

Hello, our file manager makes 2 read request in a row when the page is loaded, when we load a new path, and when a directory is clicked in the tree view.

Is this normal?

Thanks!

Unplanned
Last Updated: 23 Apr 2020 10:33 by ADMIN

View several folders in treeview of the filemanager:  folder1, folder2, folder3

select folder1

now Click and drag folder2 to folder3.

the folder1 moves to folder3.  

this is not desired.

 

can be reproduced in the demo

https://demos.telerik.com/aspnet-mvc/filemanager

Unplanned
Last Updated: 02 Apr 2020 15:20 by ADMIN

Currently, if we move files/folders from one folder to another, the FileManager sends two requests to the backend - Create and Destroy. The Create method is called to "create"  the files in their new destination and the Destroy method removes the files from their previous location. 

The two methods are executed independently and the results from each of them don't affect the result of the other. There are scenarios in which when we move files, the Create call can fail or be prevented because of limited user rights, but the Destroy method will be executed resulting in files' deletion. The same is applicable in scenarios where the Destroy is unsuccessful. 

It will be a very useful FileManager feature if there is a relation in the Create and Destroy methods' execution.

 

Unplanned
Last Updated: 27 Mar 2020 07:40 by ADMIN

Bug report

Related item with FM issues/enhancements: telerik/kendo#10473

Reproduction of the problem

  1. Set the Create end point to throw an error, e.g: throw new Exception("some message");
  2. Click the New Folder button in the FileManager

Current behavior

The FileManager's Error event fires, its dataSource throws a js exception:
kendo.all.js:165968 Uncaught Error: Error! The requested URL returned 500 - error

and the added folder is still displayed in the FileManager view.

Expected/desired behavior

The view is refreshed and the added folder is removed.

Environment

  • Kendo UI version: 2020.1.219
  • jQuery version: x.y
  • Browser: [all ]
Unplanned
Last Updated: 20 Feb 2020 18:54 by ADMIN
Created by: Muhammad
Comments: 0
Category: FileManager
Type: Feature Request
1

I'd like to request the inclusion of source code for CRUD operations in the FileManagerDataController for MVC and Core. 

Thanks!

Declined
Last Updated: 10 Feb 2020 08:33 by ADMIN
Created by: Christian
Comments: 1
Category: FileManager
Type: Bug Report
0

Hi,

 

the filemanager toolbar item configurator doesnt work correct.

The Id setter function does not work.

 

CSHTML

            .Toolbar(tb => tb.Items(items =>
            {
                items.Add("notify").Text("Notify").Command("NotifyCommand").Icon("email").Type("button").Id("btnNotify");

 

Generated HTML

The Button Id get an default value.

 

Regards

Christian