-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.x]: Changing an asset in a relationship field slideout, in a matrix is not always saved #11988
Comments
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 |
Here is a db and a zip file of two videos showing the bug in action. This db has two entries,
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. |
This looks like the same bug as #12058. |
Sure does look like the same bug. We just got that fixed for the next release (#12073). Thanks for the help! |
Craft 4.2.6 is out with that fix. |
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: