Nested translated block configuration is not being displayed

Created on 7 May 2020, over 4 years ago
Updated 21 May 2024, 7 months ago

How to reproduce:
1. Create a custom block plugin with a setting being an assoc array, with a translatable item inside.
2. Create a schema file for that block and setting.
3. Put the block in the layout builder and translate this nested setting.
4. Other non-translatable settings from the same array will be null on translated page.

This is because of the shallow array merging in the ComponentPluginTranslate, at line 90:
https://git.drupalcode.org/project/layout_builder_st/-/blob/8.x-1.x/src/...

πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡΅πŸ‡±Poland Luke_Nuke

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024