Skip to content

Localization bug - When any one field in a set is localized this causes image 'widget' to no longer display the image #3347

@Sander-Hub

Description

@Sander-Hub

Hi there,

Take the following set:

Capture_set_example

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!

Capture_set_image_field_gone

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions