Edit asset in modal view on entry always show Default Upload Location volumes field layout
@andris-sevcenko is already working on this.
Since Mar 19, 2019.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
Description
Not sure if this is the intended behaviour or not, but this seems like a bug to me.
I've created two volumes where one of the volumes have additional field layout.

Images:

I then create a field that allows files from both volumes and set the Default Upload Location to Images:

This seems to result in that all assets in modal view on an entry gets the addition field layout attached to it.
On the screenshot below only the image should have the Description field.

If I set the Default Upload Location to Videos it works as expected (image get the extra field, video does not).
In the Asset view, everything is correct:


Steps to reproduce
Follow the screenshots above.
Additional info
- Craft version: 3.1.18
- PHP version: 7.2
- Database driver & version:MySQL 5.7
- Plugins & versions: N/A
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.