gliff-ai / store

gliff.ai STORE – django application running gliff.ai’s main API and passing to the etebase API
https://gliff.ai
1 stars 0 forks source link

Creating a TS with name over 50 chars returns a 500 #241

Open cooper667 opened 2 years ago

cooper667 commented 2 years ago

It's a model/db limit., so we don't catch it until we try to save the record, which causes a 500 error. Messy.

Ideally the schema will have and enforce this limit so return a nice error to the user. Worst case we can do it in code.

This may also apply to other fields, we should check our models for fields with varchar(x) to see