-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
$content->setFieldValue('image', 'image.png'); doesn't work #3481
Comments
Why are you saving the factory? Shouldn't you save/persist the Content itself? |
The same result is got when using
or
Initially I used factory because bolt5 docs recommended it https://docs.boltcms.io/5.0/extensions/creating_content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can't update/create image field in fixtures
Details
Reproduction
Bug summary
Problem is text fields are updated as expected, but not image field
Specifics
Expected result
Image gets updated
Actual result
text fields are updated, image field not
The text was updated successfully, but these errors were encountered: