We ran into this issue when updating from 1.0rc1 to 2.0.1.
It is a major issue for us... Can the updated patch be applied against the latest stable 2.0.1 version?
thanks Alex! I don't think I will get to test until I need it for another project unfortunately and had move those nodes manually (luckily not too many of them) but I'll see if I can find some time.
nixar β created an issue.
I have good luck using filefield_paths with this module.
I can even drag and drop documents from the browser and the path gets updated automatically.
Configuration for the file field of the Document media type:
Enable Filefield_paths?: checked
then under Field (Field) Path Settings:
File path: media-library/[media:directory:entity:parents]/[media:directory:entity:name]
File path options: check all
File name: leave unchanged
File name options: check all
Active Updating: checked
The only caveat is that my folders can only be nested with a depth of 2 since the token [media:directory:entity:parents] can turn multiple nested terms into a flat one but I can leave with that.