When using a command block to replace a button with a sign upon pressing the sign appears without text.
Steps to recreate:
Enter the following command into an impulse command block:
/setblock ~ ~ ~-1 oak_wall_sign{front_text:{messages:['""','"TEXT"','""','""']}}
Place a button on the north face of the command block
Press the button
→ ❌ A seemingly blank sign is placedExit and rejoin the world
→ ✔ Text is now visible on the sign
Expected Behaviour:
When the button is pressed it should be replaced with a sign displaying the text defined within the command block, without having to reload the world.
The command in the description is malformatted, please correct that so it can actually be tested.