I am having an issue with the folder structure in assets in certain scenarios. For certain projects I quite often set the default asset upload location as the {slug} of the the entry to make it a little bit more manageable. I am having an issue on a site currently where I am not using the title field and instead using custom 'firstName' and 'lastName' fields. When I create a new entry and haven't yet saved the entry, any uploaded assets seem to generate a temp folder and get uploaded there instead of under the slug. This is only an issue when not using the title field.
Steps to reproduce
Create a section which uses alternative plain text fields instead of title field
Add an asset field which uses the {slug} as the default folder structure
Create a new entry
Before saving the new entry add an image to the asset field
Description
I am having an issue with the folder structure in assets in certain scenarios. For certain projects I quite often set the default asset upload location as the {slug} of the the entry to make it a little bit more manageable. I am having an issue on a site currently where I am not using the title field and instead using custom 'firstName' and 'lastName' fields. When I create a new entry and haven't yet saved the entry, any uploaded assets seem to generate a temp folder and get uploaded there instead of under the slug. This is only an issue when not using the title field.
Steps to reproduce
Additional info