Declined
Last Updated: 20 Jan 2020 11:18 by ADMIN
Anna
Created on: 17 Jan 2020 13:13
Category: FileManager
Type: Bug Report
0
FileManager no proper error handling

Creating a new folder

  1. Run sample at https://dojo.telerik.com/@GaloisGirl/EpuYiJOt   (cloned from https://demos.telerik.com/kendo-ui/filemanager/api , but there's no back-end error there )
  2. Add new folder
  3. Backend returns error (because the relative URLs throw a 404 error there)
  4. Result:
    1. Actual: a new folder is seen in the right pane (regardless if list or grid) but not in the TreeView in the left pane
    2. Expected: state should be consistent between both panes.

Deleting a folder

Fails silently. The folder disappears from both views.

Renaming a folder

The renamed folder is shown as renamed in the TreeView, but the ListView or GridView hangs.

If I'm doing something wrong, an example of proper back-end error handling would be helpful.

 

 

1 comment
ADMIN
Ianko
Posted on: 20 Jan 2020 11:18

Hi Anna,

There cannot be a general error handling as the error handling would depend on the server-side implementation. The FileManager exposes the error event for the developers to handle and show specific errors to the client. You can see in that dojo: https://dojo.telerik.com/atIKUKAG. Also, if you have a particular messages from the server endpoint, you can get it via the event arguments so that the errors are more descriptive. 

Regards,
Ianko
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.