I have a strange behaviour when I want to upload files in a specific path using an Image widget type. It seems that there is a regression bug.
Since I updated the "Media Browser Plus" module from the 7.x-2.0-dev1+18-dev to the 7.x-3.0-beta3 version, all the photos that I add into a photo gallery via an Image Field are not added into the folder of this galery on the file system but into the root folder ("sites/default/files").
I precise that I also use the "File (Field) Paths" module (previously the 7.x-1.0-beta4 version and now the 7.x-1.0-rc1 version, the result is the same...). So, in the "File (Field) Path settings" section of the Image Field management page, I use the value "galleries/[node:field_gallery]" in the "File path" input to force the upload of the photos into the galery folder on the file system. But since I updated the "Media Browser Plus" module to 7.x-3.0-beta3, it doesn't work. So, the uploaded photos are not copied into the gallery folder but they remain into the root folder ("sites/default/files").
To conclude, the 7.x-3.0-beta3 "Media Browser Plus" module has broken the functioning of the "File (Field) Paths" module.
Could you please write a patch for that?
Thanks :)
P.S.: I use Drupal Core 7.40 and it was the same in Drupal 7.39.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Screenshot_1.png | 74.04 KB | Didasko |
| #2 | Screenshot_2.png | 91.35 KB | Didasko |
Comments
Comment #2
Didasko commentedComment #3
Didasko commentedComment #4
Didasko commentedComment #5
das-peter commentedPlease try the latest dev version to see if it isn't already fixed there.
Comment #6
Didasko commentedYes thanks a lot das-peter!!
It works!
To install "media_browser_plus-7.x-3.x-dev", I had to add the "Views tree" and "Views Bulk Operations" modules. So, I used "views_tree-7.x-2.x-dev" and "views_bulk_operations-7.x-3.3" versions to do the test and it's ok!
Thanks a lot! :)
Comment #7
das-peter commentedThanks for the feedback.
I guess I could / should publish another release ;)
Comment #9
ccosta commentedI've detected the same error; my versions are:
media_browser_plus 7.x-3.0-beta3+32-dev
views_tree 7.x-2.0+2-dev
views_bulk_operations 7.x-3.3
In the field definition I establish a filepath, but when I upload a image, I see the select, asking for the file folder. Is there a way to override this, and use the path defined in the field?
Thank you!