This is a migrated thread and some comments may be shown as answers.

Image browser cannot upload, create or destroy entries

3 Answers 137 Views
Editor
This is a migrated thread and some comments may be shown as answers.
CWS
Top achievements
Rank 1
CWS asked on 13 Aug 2013, 08:31 PM
Hello,

We are having some problems with the image browser using the Kendo UI build v2013.2.716.

These problems can be replicated using the image browser demo (/razor/web/editor/imagebrowser) found in the Kendo.Mvc.Examples project provided with the Kendo UI install. These issues were also not present in the Q1 2013 release that we were using before.

When you try to upload an image:
The image uploads successfully but an image named "undefined" is added with the ajax spinner for a thumbnail.
Upon refreshing the page the uploaded image will show correctly in the list.

When you try to create a directory or when you try to delete an image/directory:
A request is posted to the create URL for every file in the list.

The posts look like this:
POST /razor/web/ImageBrowser/Create HTTP/1.1
Name=a100.png&Size=73289&EntryType=0&path=

POST /razor/web/ImageBrowser/Create HTTP/1.1
Name=aeroviewr.png&Size=15289&EntryType=0&path=

POST /razor/web/ImageBrowser/Create HTTP/1.1
Name=bg-glossy.png&Size=1128&EntryType=0&path=

Was some change overlooked and not committed into the code samples? Any workarounds for this?

Thank you

3 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 14 Aug 2013, 07:34 AM
Can you reproduce these problems on the online examples? Here is a video of what we tried.

Please provide the exact steps how the problem occur, and a sample project that demonstrates them, if they do not occur online.

Regards,

Alex Gyoshev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
CWS
Top achievements
Rank 1
answered on 14 Aug 2013, 01:19 PM
Hi Alex,

The demo on demos.kendoui.com works fine but that demo not seem to be using the kendo html helpers to create the editor.

The problems described can be replicated using the image browser demo (/razor/web/editor/imagebrowser) found in the Kendo.Mvc.Examples project provided with the Kendo UI install.

To replicate open up the image browser demo  (/razor/web/editor/imagebrowser) and attempt to do one of the following:
Upload a photo
Delete a photo
Create a directory

I have attached the offline examples project for reference. I had to cut some stuff out of it in order to get in under the upload limit.

Thank you
0
Alex Gyoshev
Telerik team
answered on 15 Aug 2013, 11:09 AM
Thank you for describing the problem in more detail. This has been fixed in the latest internal builds.

Regards,
Alex Gyoshev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Editor
Asked by
CWS
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
CWS
Top achievements
Rank 1
Share this question
or