Completed
Last Updated: 26 May 2022 06:44 by ADMIN
Release 2022.R2.SP.next

Bug report

When the FileManager is defined using TagHelpers the defined schema is not serialized

Reproduction of the problem

The following FileManager definition:

<kendo-filemanager name="filemanager" upload-url="@Url.Action("FileManagerUpload", "FileManager")">
    <filemanager-datasource>
        <transport>
            <read url="@Url.Action("FileManagerRead", "FileManager")" type="POST" />
            <create url="@Url.Action("FileManagerCreate", "FileManager")" type="POST" />
            <destroy url="@Url.Action("FileManagerDestroy", "FileManager")" type="POST" />
            <update url="@Url.Action("FileManagerUpdate", "FileManager")" type="POST" />
        </transport>
        <schema>
            <filemanager-model id="path" has-children="hasDirectories">
                <fields>
                    <field name="path" type="string" from="Path"></field>
                    <field name="name" type="string" from="Name"></field>
                    <field name="extension" type="string" from="Extension"></field>
                    <field name="created" type="date" from="Created"></field>
                    <field name="createdUtc" type="date" from="CreatedUtc"></field>
                    <field name="modified" type="date" from="Modified"></field>
                    <field name="modifiedUtc" type="date" from="ModifiedUtc"></field>
                    <field name="size" type="number" from="Size"></field>
                </fields>
            </filemanager-model>
        </schema>
    </filemanager-datasource>
    <toolbar>
        <items>
            <item name="createFolder" />
            <item name="upload" />
            <item name="sortDirection" />
            <item name="sortField" />
            <item name="changeView" />
            <item name="spacer" />
            <item name="details" />
            <item name="search" />
        </items>
    </toolbar>
</kendo-filemanager>

generates the following script, without a schema definition:

<script> 
  kendo.syncReady(function() {
    jQuery("#filemanager").kendoFileManager({
        "uploadUrl": "/FileManager/FileManagerUpload",
        "toolbar": {
            "items": [{
                "name": "createFolder"
            }, {
                "name": "upload"
            }, {
                "name": "sortDirection"
            }, {
                "name": "sortField"
            }, {
                "name": "changeView"
            }, {
                "name": "spacer"
            }, {
                "name": "details"
            }, {
                "name": "search"
            }]
        },
        "dataSource": {
            "schema": {
                "model": {
                    "id": "path",
                    "hasChildren": "hasDirectories"
                }
            },
            "transport": {
                "destroy": {
                    "type": "POST",
                    "url": "/FileManager/FileManagerDestroy"
                },
                "read": {
                    "type": "POST",
                    "url": "/FileManager/FileManagerRead"
                },
                "update": {
                    "type": "POST",
                    "url": "/FileManager/FileManagerUpdate"
                },
                "create": {
                    "type": "POST",
                    "url": "/FileManager/FileManagerCreate"
                }
            }
        }
    });
}); 
</script>

Expected/desired behavior

The FileManager DataSource schema should be serialized

Environment

  • Kendo UI version: 2021.2.616
  • Browser: [all]
Unplanned
Last Updated: 24 Jun 2020 13:30 by Andrew
Created by: Andrew
Comments: 0
Category: FileManager
Type: Bug Report
0

Bug report

When using the FileManager initialized using the TagHelper and renaming nested folders a 404 error is thrown.

Reproduction of the problem

  1. Run the FileManager TagHelper Demo
  2. Create several nested folders
  3. Rename a parent folder
  4. Rename child folders of the renamed parent folder
  5. Rename the same parent folder

Current behavior

A 404 - File or directory not found is returned

Expected/desired behavior

The folder should be renamed

Environment

  • Kendo UI version: 2020.2.617
  • Browser: [all ]
Unplanned
Last Updated: 15 Jun 2020 08:52 by ADMIN

When using the following configuration an error is thrown, thus making it unable to set the Grid columns:

<kendo-filemanager name="filemanager" upload-url="@Url.Action("Upload", "FileManagerData")">   
    <views>
        <grid>
            <columns>
                <column field="name"></column>
            </columns>
        </grid>
    </views>
</kendo-filemanager>

Unplanned
Last Updated: 29 May 2020 06:44 by ADMIN

Hello Team,

when I add new folder then I rename it to 1.1 it show me 1.1.1 but the folder name is 1.1 and in properties 1.1 but I don't want it to show 1.1.1

the file manager add .1 automatically and if I rename it 2.2 it add .2 then the file display name 2.2 .

Please help,

Thank you,