I'm testing this on a media bundle entity reference used with entity browser (with paragraphs and also media embed).
Clicking "Save configuration" does create the "Temporary file location", but after that, seems to have no effect.
Under the image field in my media bundle, I set FILE PATH OPTIONS to "Cleanup using Pathauto" and FILE NAME OPTIONS to "Transliterate".
It's created "Temporary file location" it is never used. It seems to have no effect on the files created in their otherwise designated directory, and repeated uploads get additional files named with _0 etc, where I have set in pathauto to "Create a new alias. Delete the old alias."
There was a some effect checking "Active updating", but not as expected (still made multiple files).
Is this expected to work with a media bundle entity reference?
I was so happy to see filefield_paths for Drupal 8, thanks so much for your work on it!
---
File (Field) Paths 8.x-1.0-beta1+9-dev (2016-Mar-06)
Drupal 8.1.8
Comments
Comment #2
jonathanshawI have it working fine with file fields on media entities. Can you configure it OK to get the results you want with a file field on a node?
Comment #3
echoz commentedThanks for responding. Just using image field as described, and gave up on file field paths for now, so not able to test immediately.
Comment #4
liquidcms commentedWondering if I have the same issue?
I have a file field on media bundle. And that media type is used on a reference field on my node bundle. I don't see any tokens on the file field at all related to the parent bundle that the media type is referencing.
Ideally i guess the filefield definition would be per instance as it is very restrictive to have to make a new media bundle for every bundle that it is used for.
A similar way to put this together would be with a paragraph; which does have tokens for parent fields.. but haven't sorted out how to use them.. or if its possible.
Comment #5
marcoka commentedI tested this and i have Entity references on nodes for media.
I can not see any settings there.
http://www.root.artwaves.de/sharex/24-01-21--19-47-14.jpg
Are the settings to be expected in the field itself or only here /admin/structure/media/manage/image
Comment #6
volegerIs the issue still present? If so, please provide details on how to reproduce and your expectations for the fix.