You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a replicator set to replicate items using a complex data type (objects, e.g. address field), the child items are not created correctly.
Basically a shallow copy of the default value(s) is used. This does not matter for simple data types. In case a complex data type is involved, the same object is used in multiple replications, thus overwriting and data-loss may occur before the entry is saved for the first time.
Bug description
When using a replicator set to replicate items using a complex data type (objects, e.g. address field), the child items are not created correctly.
Basically a shallow copy of the default value(s) is used. This does not matter for simple data types. In case a complex data type is involved, the same object is used in multiple replications, thus overwriting and data-loss may occur before the entry is saved for the first time.
How to reproduce
In the screenshot the first item was changed actively and the changes got reflected to the second one, which should be independent from the first.
Logs
Environment
Installation
Starter Kit using via CLI
Additional details
The address-field addon is used (https://statamic.com/addons/rias/address-field).
The text was updated successfully, but these errors were encountered: