Potential Bug: Retrying duplicates metadata

2 posts, 0 answers
  1. Ricardo
    Ricardo avatar
    8 posts
    Member since:
    Mar 2012

    Posted 30 Mar 2012 Link to this post

    Hi,

    I came across this issue while using the Upload widget... the summary is that when an upload fails, and I hit the retry button, the fields on the metadata get re-appended. Each time I hit the retry button, the value gets appended again.

    Here is my code (I am using Kendo UI Complete v2012.1.322):

    $(function () {
        $("#input-file").kendoUpload({
            async: {
                autoUpload: true,
                saveUrl: '/UploadAction'
            },
            upload: onUpload,
            multiple: true,
            showFileList: true
        });
     
    });
     
    function onUpload(e) {
        e.data = {
            "displayName": $("#DisplayName").val()
        };
    }

    Let me know if there is anything I doing wrong... Otherwise I hope this helps...

    Keep up the great work!
    -Ricardo
  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2834 posts

    Posted 04 Apr 2012 Link to this post

    Hello,

    Thank you for reporting this problem. We'll start working on a fix right away.

    As a token of gratitude for your involvement your Telerik points have been updated.

    All the best,
    Tsvetomir Tsonev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top