Partage
  • Partager sur Facebook
  • Partager sur Twitter

ComurImageBundle

data.result.image_upload_file is undefined in comur.imagelibrary.js:67

    21 juillet 2017 à 16:24:20

    I'm using comur/image-bundle 1.3.x-dev f5d2237 Symfony 3.2.12 th problém that after the progress bar finish i got this execpetion witout processing the upload:

    > data.result.image_upload_file is undefined in comur.imagelibrary.js:67:1

    Index.html.twig:

    {% include "ComurImageBundle:Form:croppable_image_modal.html.twig"%}
    {% include "ComurImageBundle:Form:croppable_image_modal.html.twig" with {'include_jquery': true, 'include_bootstrap': true} %}
    <script src="{{ asset('bundles/fosjsrouting/js/router.js') }}" /><script src="{{ path('fos_js_routing_js',{"callback": "fos.Router.setData"}) }}">
    
    
    	{{form(form)}}
    

    by the way console.log(data.result); in lign 67 : comur.image.library.js give me this result :

    Object
    bnbc_ajax_file_form:Array(0)
    length:0
    __proto__:Array(0)
    __proto__:Object
    

    Some Help plz

    -
    Edité par ahmedbhs 21 juillet 2017 à 16:48:09

    • Partager sur Facebook
    • Partager sur Twitter

    ComurImageBundle

    × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
    × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
    • Editeur
    • Markdown