This is my first issue I create, so I hope I filled out everything correctly.
When using File (Field) Paths with Media Entity and a Image bundle the image field in this bundle is not accepting node tokens for the upload path:
File path is using the following invalid tokens: [node:created:html_year].
Same for the file field in the document bundle.
When the image or file field is in a normal article or page, [node:created:html_year] is accepted as a upload path token.
Comments
Comment #2
decipheredFile (Field) Paths exposes the tokens for the entity of which the File Field is attached, so if you are attach a File to a Media bundle, then Node is not involved in the process at all. In addition, if the Node tokens were made available, which if the potentially innumerable Nodes should it pull the data from?
Comment #3
johnnny83 commentedOk, thank you, I see the logic. The problem is that I use the media add form with Inline Entity Form within a Node add...