Sasha
c86526b5c8
fix(db-postgres): localized items in arrays with versions ( #8334 )
...
Port of https://github.com/payloadcms/payload/pull/8331 to 2.0
Previosuly, trying to append a new item to an array that contains
another array with localized items and enabled versions led to a unique
`_locale` and `_parent_id` error
```ts
{
name: 'nestedArrayLocalized',
type: 'array',
fields: [
{
type: 'array',
name: 'array',
fields: [
{
name: 'text',
type: 'text',
localized: true,
},
],
},
],
}
```
2024-09-20 12:15:00 -04:00
..
2024-08-09 09:27:09 -04:00
2024-04-20 23:05:37 -04:00
2024-01-26 13:39:45 -05:00
2023-09-26 17:11:46 -04:00
2024-07-16 12:58:55 -04:00
2024-09-04 16:44:40 -04:00
2024-07-24 14:02:06 -04:00
2024-05-17 14:07:57 -04:00
2024-01-23 19:18:55 -05:00
2023-11-14 16:07:10 -05:00
2024-07-24 14:02:06 -04:00
2024-06-25 14:57:50 -04:00
2023-11-02 13:13:29 -04:00
2024-06-18 09:14:07 -04:00
2023-09-01 14:45:41 -04:00
2024-09-20 12:15:00 -04:00
2024-08-07 15:31:47 -04:00
2024-06-13 11:08:04 -04:00
2023-12-11 16:52:24 -05:00
2024-04-20 23:05:37 -04:00
2024-06-28 09:06:27 -04:00
2024-07-24 12:17:03 -04:00
2024-07-22 16:55:35 -04:00
2024-04-17 16:31:35 -04:00
2023-09-01 14:45:41 -04:00
2023-10-13 09:45:00 -04:00
2023-12-01 16:35:12 -05:00
2024-02-16 12:33:07 -05:00
2024-01-12 15:39:35 -05:00
2024-01-08 17:12:02 -05:00
2023-12-18 14:47:11 -05:00
2024-05-10 10:39:47 -04:00
2024-07-16 12:58:55 -04:00
2023-11-07 16:02:24 -05:00
2024-02-02 14:53:51 -05:00
2024-07-16 12:58:55 -04:00
2023-09-20 14:37:14 -04:00
2023-11-16 22:01:04 +01:00
2024-09-10 08:45:02 -04:00
2024-08-12 14:36:09 -06:00
2024-06-13 11:08:04 -04:00
2023-09-07 15:48:48 +02:00
2023-10-20 15:50:25 -04:00
2023-09-07 15:48:48 +02:00
2024-07-25 12:37:41 -04:00
2023-09-01 14:45:41 -04:00
2023-09-01 14:45:41 -04:00
2023-10-06 17:16:13 -04:00
2024-01-26 13:48:53 -05:00
2024-01-26 13:48:53 -05:00
2024-06-13 11:08:04 -04:00
2024-02-16 11:30:55 -05:00
2023-10-09 23:43:34 -04:00
2023-09-07 22:36:17 +02:00