Image browser cannot upload, create or destroy entries

4 posts, 0 answers
  1. CWS
    CWS avatar
    4 posts
    Member since:
    May 2007

    Posted 13 Aug 2013 Link to this post

    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
  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 14 Aug 2013 Link to this post

    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!
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. CWS
    CWS avatar
    4 posts
    Member since:
    May 2007

    Posted 14 Aug 2013 Link to this post

    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
  5. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 15 Aug 2013 Link to this post

    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!
Back to Top
UI for ASP.NET MVC is VS 2017 Ready