title: symfony 2 upload one up bundle
body: <p>I use the OneUp bundle for symfony 2,  method's listener class is never call  </p>
  
  <pre><code>//service.yml
  amd_picture.uploadListener:
      class: Amd\PictureBundle\Services\UploadListener
      arguments: ["@doctrine.orm.entity_manager"]
      tag:
        - {name: kernel.event_listener, event: oneup_uploader.post_chunk_upload, method: onUpload}
  </code></pre>
  
  <p>the listener class implements the onUpload method and the corresponding event , is it the rigth event to listen ??? </p>
  
  <pre><code>class UploadListener {
  
     private $doctrine;
  
     public function __construct($doctrine) {
        $this-&gt;doctrine = $doctrine;
     }
  
     public function onUpload(PostChunkUploadEvent $event) {
         //source code
     }
  }
  </code></pre>
  
  <p>the srcipt for the front end template</p>
  
  <pre><code>&lt;script&gt;
    YUI().use('uploader', function(Y) {
  
      var uploader = new Y.Uploader(
              {
                  multipleFiles: true,
                  uploadURL: "{{ oneup_uploader_endpoint('gallery') }}",
                  width: "300px",
                  height: "60px"
  
              }).render("#fileupload");
  &lt;/script&gt;
  </code></pre>
  
  <p>i don't find why the onUpload method is never call?</p>