Getting error while creating new field.
Hey! I'm trying to create a field spcificaly select in Company but get this error.
16 Replies
@Weiko I think it has to do with the introduced isLabelSyncedWithName
I'm taking it, but fyi
Thanks
@Oleksandr Boiko are you self hosting or on cloud?
@Weiko I still need to check how it was possible not to send the value through the form, but this should do if we need a quick fix: https://github.com/twentyhq/twenty/pull/9028
I thought the FE was sending a default value 🤔 can't reproduce on my side
(I actually need to run other checks on my pr i think)
Cloud
thanks for reporting @Oleksandr Boiko, we are actively looking at it !
It's behavior changes I just created an issue on GitHub
can you give me the link of the issue you created ?
GitHub
New Field functionalyty is not working · Issue #9040 · twentyhq/twe...
Previously, I reported an issue with the "New Field" functionality, where it was not working and throwing an error. You can refer to the Discord Help thread and my earlier post titled, &q...
I found these fields
Thank you
Your issue points at another problem: we introduced a regression where a newly created field does not appear directly in the fields list (page needs to be refreshed), but was created indeed. we are working on fixing this!
"test" and "test1" fields labels cannot co-exist as they will both be translated to "test" in the api
Ohh, okay it's not obvious but thanks for the explanation
Yes, we will make sure to clarify that in the future
Mh sorry actually I was mistaken, it is possible to have two fields test and test1; and from your screenshot you can see they were both created
it's okay, anyway I don't think we will have fields like 1 2 3
Closing this with this fixing PR:
https://github.com/twentyhq/twenty/pull/9028/files
GitHub
[Fix] isLabelSyncedWithName should be nullable by ijreilly · Pull R...
isLabelSyncedWithName should be nullable for fieldMetadata, as it is for objectMetadata.
Adding missing validation on label and name sync in fieldMetadataService for creation and update
adding met...