Error after filemanager upload

Hi, I impemented file upload on my application but when the upload is complete I get a JavaScript error on filemanager.js at line 2784: Cannot set property ‘type’ of undefined.
What I’m doing wrong? Is there any docs on how should I manage an upload/download?

Hi,

Can you please provide an example of your implementation?

Upload/download features are shown in the following sample (available in your package at*samples/01_basic/03_uploading.html*).

Basically, it’s possible to drag and drop an item to trigger uploading or use the actions menu. Manual upload is possible with theuploadFile method.

Thank you for your response. I figured out what the problem was by debugging. Basically the error was caused by the fact that the component assumes a “persistent” id is present. My item identifier was not named “id” so after the upload the component was trying to find the item with the “surrogate” id you assign and was not finding it anymore. I resolved populating the “id” property with the value of my id field and everything started working as expected.