Weiko
Weiko
TTwenty
Created by basicbass on 9/5/2024 in #❓︱help
What's the best way to bulk add/remove fields?
Hi @basicbass We haven't implemented the createMany indeed. Shouldn't take much time but we didn't have this use case yet. Feel free to create an issue though. I'm not sure we will prioritise this one because we have an upcoming refactoring on that part and we would prefer to finish that first but we will keep it in mind!
6 replies
TTwenty
Created by ferdi9544 on 9/3/2024 in #❓︱help
API : Error 500 while fetching all companies
Ah, I see what you mean. We have a ticket for that, thanks :). Shouldn't impact you directly I think
29 replies
TTwenty
Created by ferdi9544 on 9/3/2024 in #❓︱help
API : Error 500 while fetching all companies
Great. What error logs? You mean in the console? Or a toast message?
29 replies
TTwenty
Created by ferdi9544 on 9/3/2024 in #❓︱help
API : Error 500 while fetching all companies
@ferdi9544 can you try again?
29 replies
TTwenty
Created by ferdi9544 on 9/3/2024 in #❓︱help
API : Error 500 while fetching all companies
Did you try to rename this field by any chance?
29 replies
TTwenty
Created by ferdi9544 on 9/3/2024 in #❓︱help
API : Error 500 while fetching all companies
There is an "adress" field that was not properly created
29 replies
TTwenty
Created by ferdi9544 on 9/3/2024 in #❓︱help
API : Error 500 while fetching all companies
It might. Looks like your data model is broken and I'm trying to understand why 🙂 (and the API is affected by it since it's auto-generated with your data model)
29 replies
TTwenty
Created by ferdi9544 on 9/3/2024 in #❓︱help
API : Error 500 while fetching all companies
Hi @ferdi9544, I could reproduce the bug on my side, I'm trying to push a fix this afternoon
29 replies
TTwenty
Created by ferdi9544 on 9/3/2024 in #❓︱help
API : Error 500 while fetching all companies
Hi @ferdi9544, can you provide an example of a request that fail so I can reproduce on my side? Does the rest of the app load?
29 replies
TTwenty
Created by Soul on 9/2/2024 in #❓︱help
Where can i see the workspaceMemberId?
Hi. Check your network tab and GetCurrentUser response, you should see a workspaceMember object in it with what you need.
2 replies
TTwenty
Created by 🅹🅰🆈🅱🅴🅴 on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
I won't be available for the next 3 days and won't be able to push a fix unfortunately. I'll let @thomast or @charles see if a patch can be pushed or if we can provide a manual action (SQL query to fix your workspace) for you
36 replies
TTwenty
Created by _PoSeiDon on 8/9/2024 in #❓︱help
Upgraded to latest version and Twenty crashed
@_PoSeiDon files (attachments, logo, etc) have been moved to another folder, the upgrade command should have moved them for you. Did you run yarn command:prod upgrade-0.23 as suggested? Otherwise you can simply move them manually, the desired path is in your error message, basically you should have a folder .local-storage/workspace-logo you need to move workspace-logo into .local-storage/workspace-8cc45cca-1c8b-4484-8af5-d88bfe12df89
3 replies
TTwenty
Created by Skyfox675 on 8/6/2024 in #❓︱help
Upgrade to v0.23.0 failing
I don't see anything wrong with your fields. If you wait for a bit I will try to push a change that will improve the error
175 replies
TTwenty
Created by Skyfox675 on 8/6/2024 in #❓︱help
Upgrade to v0.23.0 failing
Mmm, should be fine since the constraint is based on the name and the object so it won't fail if Opportunity and deal have the same fields
175 replies
TTwenty
Created by Skyfox675 on 8/6/2024 in #❓︱help
Upgrade to v0.23.0 failing
Sorry, this request was suggested because you had to update multiple fields isCustom. It seems you are done with that error now and the unicity constraint won't be fixed by this query because it's based on the ['name', 'objectMetadataId', 'workspaceId'] columns regardless of the isCustom column
175 replies
TTwenty
Created by Skyfox675 on 8/6/2024 in #❓︱help
Upgrade to v0.23.0 failing
At least we should improve the error above. The unicity constraint you see throws an error directly from the DB/ORM, we should catch that and log the field that's being created
175 replies
TTwenty
Created by Skyfox675 on 8/6/2024 in #❓︱help
Upgrade to v0.23.0 failing
That's something we are not really good at yet. If we introduce a new feature that needs the creation of a new table, we need to make sure the DB does not have already one with the same name. Since we allow users to create custom objects which in result creates a table, that name could have been already taken for the table (or the field/object/api)
175 replies