Localization bug - When any one field in a set is localized this causes image 'widget' to no longer display the image
Hi there,
Take the following set:
The set in the contenttypes.yaml (contenttype pages) looks like this:
testset:
type: set
label: TestSet
fields:
title:
type: text
label: Textveld
# localize: true
image:
type: image
label: Afbeelding
The contenttype in this case also has two locales like so locales: ['nl', 'en']
Let say we want to localize only the text field.
This results in the disappearance of the image in the non-default locale, even though the image field is not localized!
One would expect the image to be there in the other locale, as the field is not localized.
| Relevant Bolt Version | 5.1.18 | Install type | Composer install | PHP version | 7.4 | Web server | Symfony
I have the same issue.
Same here. And a very annoying side effect is that the image is removed when we edit a translation, when the image is not shown in the translation editor.
Also, changing the type to file instead of image doesn't help.
Note: @FrankHermes and I managed to 'fix' this by upgrading to Bolt 5.2.0 beta.