Hello,
I am using Plupload with Media module.
When I upload files at file/add the plupload GUI says that all the files are uploaded correctly and then redirects me to the following URL (see attached screenshot):
/admin/content/file/edit-multiple/499%2520500%2520501%3Fdestination%3Dadmin/content/file
On this page, the file names are wrong. Instead of myimage.jpg the files are renamed to something like
p17kgjkpds131scuadit1bdm6s26.tmp.
When I go to the files dir on the server the file names are made into directories an inside the directory (f.e. myimage.jpg) is a file p17kgjkpds131scuadit1bdm6s26.tmp.
I am using private upload method and my private dir is outside the docroot. File Uploads without the plupload module are working.
I am using media module 7.x-2.0-unstable7+25-dev.
Thank you for your attention
Comment | File | Size | Author |
---|---|---|---|
screenshot-plupload-error.png | 34.25 KB | lorenz |
Comments
Comment #1
lorenz CreditAttribution: lorenz commentedComment #2
lorenz CreditAttribution: lorenz commentedComment #3
slashrsm CreditAttribution: slashrsm commentedPlupload always uploads files as .tmp for security reasons. It is up to module using PLupload to move and rename this files properly. Ask in the issue queue of the module you are using with Plupload.
Comment #4
lorenz CreditAttribution: lorenz commentedThanks! I opened an issue in the media module issue queue: http://drupal.org/node/1930950
Comment #5
gmclelland CreditAttribution: gmclelland commentedFYI... I believe this is related to the latest commit in the File Entity module. You can see my comment here http://drupal.org/node/1930950#comment-7125452