Files
twenty/packages/twenty-server
Marie 4c413d4802 Fix custom object renaming (#8746)
Currently when renaming an object, we execute
```
await this.fieldMetadataRepository
                    .findOneByOrFail({
                      name: existingObjectMetadata.nameSingular,
                      label: existingObjectMetadata.labelSingular,
                      objectMetadataId: relatedObject.id,
                      workspaceId: workspaceId,
                    })
```
to find the standard relation fields. 
This would throw an error if the label solely was update beforehand
without updating the name too: in that case we will not have migrated
the label of the standard relation fields (which is maybe a mistake?
@Weiko wdyt?).
Let's remove it.
2024-11-26 11:01:12 +01:00
..
2024-09-18 17:35:08 +02:00
2024-11-26 11:01:12 +01:00
2024-09-20 11:02:52 +02:00
2024-10-05 00:23:23 +02:00
2024-11-22 11:53:33 +01:00