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.

Comments

Didasko created an issue. See original summary.

Didasko’s picture

StatusFileSize
new74.04 KB
new91.35 KB
Didasko’s picture

Didasko’s picture

Issue summary: View changes
das-peter’s picture

Status: Needs work » Postponed (maintainer needs more info)

Could you please write a patch for that?

Please try the latest dev version to see if it isn't already fixed there.

Didasko’s picture

Yes 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! :)

das-peter’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thanks for the feedback.
I guess I could / should publish another release ;)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

ccosta’s picture

Status: Closed (fixed) » Active

I'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!