You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When uploading an asset in a slideout, that is in a matrix field, the image is not saved. The image is uploaded, but it is not saved to the field.
This happens when clicking the upload button in the entries field and in the asset selector dialog.
This only happens when editing an asset field in a matrix in a slideout. When editing the entry with a matrix directly, everything works properly.
Note, there is also a bug where text in a text field in the same setup as an asset field will intermittently get truncated and not saved properly, but it feels like it is related to this asset bug. This one is harder to describe so if necessary I'll add a video.
Steps to reproduce
Create a channel with a matrix field that has an asset field in it.
Create a channel with a entries field that points to the previous channel.
Create an entry in each one.
Go to the channel with the entries field and double click the entries field and select an entry with the matrix field.
Click the upload button for the asset and upload a new image.
Save and look at the slideout again and the image you selected won't be there.
Craft CMS version
4.2.3
PHP version
8.0.21
Operating system and version
Linux
Database type and version
mysql:8.0
Image driver and version
No response
Installed plugins and versions
No response
The text was updated successfully, but these errors were encountered:
I'm having trouble replicating this, but it like it could be related to #11854. Any chance you could send a database backup and your composer.json and composer.lock files to [email protected]?
one with a matrix with an asset field and a text field
another entry with a matrix with an entries field.
In the assets-field.mp3 video, when I edit the asset field in a slideout, the second time, the image is not saved.
In the text-field.mp3 video, when I edit the text field the second time and add the z's, the z's at the end do not get saved, but the z's at the beginning do get saved.
If there is anything else I can give you to help, please let me know.
What happened?
Description
When uploading an asset in a slideout, that is in a matrix field, the image is not saved. The image is uploaded, but it is not saved to the field.
This happens when clicking the upload button in the entries field and in the asset selector dialog.
This only happens when editing an asset field in a matrix in a slideout. When editing the entry with a matrix directly, everything works properly.
Note, there is also a bug where text in a text field in the same setup as an asset field will intermittently get truncated and not saved properly, but it feels like it is related to this asset bug. This one is harder to describe so if necessary I'll add a video.
Steps to reproduce
Craft CMS version
4.2.3
PHP version
8.0.21
Operating system and version
Linux
Database type and version
mysql:8.0
Image driver and version
No response
Installed plugins and versions
No response
The text was updated successfully, but these errors were encountered: