Empty payload body connect when recreating a repeatable component with the same relation #20133
Labels
issue: bug
Issue reporting a bug
severity: low
If the issue only affects a very niche base of users and an easily implemented workaround can solve
source: core:content-manager
Source is core/content-manager package
status: pending reproduction
Waiting for free time to reproduce the issue, or more information
Bug report
Required System information
Describe the bug
When I delete a repeatable component, along with its associated relations, and subsequently recreate the identical component, I get an empty payload body
connect: []
. However, if I recreate the same component while selecting a different relation, the payload bodyconnect: [new_relation]
includes the newly chosen relation (video attached below)Steps to reproduce the behavior
(see the screenshots for the content types structure)
Expected behavior
At step 9 if you were to select a different product, then the connect payload would contain the newly selected product.
So I'd expect the connect array to contain whatever product was selected.
Screenshots
Current structure of the component:
Demo
Everytime I delete the component and recreate using the same relation, the connect payload is empty. However, as soon as I recreate it with a new relation, it is included in the connect array.
Screen.Recording.2024-04-17.at.12.51.45.mov
The text was updated successfully, but these errors were encountered: