-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error loading SOA data -- field too short #168
Comments
No errors on feature/SOA_Ayesha branch. The error occurs on a different code. Ari pushed it on feature/SOA_Ayesha_ah. |
Hi Ari, The column is set as VARCHAR(250) which means you have set an explicit 250 character limit somewhere on the DB. There are some solutions that you can try to fix this error here on Stack overflow: https://stackoverflow.com/questions/13485030/strange-postgresql-value-too-long-for-type-character-varying500 |
These solutions suggest making the column unlimited, which is best done in
the Django model:
If you don't want one, use an unqualified VARCHAR, or use the TEXT type.
In addition, there is no reason to truncate the actual input data in the
database - we would not be able to get that information for the user. We
can always truncate in the UI, if there are space issues and then show the
full text on hover.
Please change the colum to text in the model.
…On Fri, Feb 12, 2021, 6:37 AM ayeshamk ***@***.***> wrote:
Hi Ari,
The column is set as VARCHAR(250) which mean you have set an explicit 250
character limit somewhere on the DB.
There are some solutions that you can try to fix this error here on Stack
overflow:
https://stackoverflow.com/questions/13485030/strange-postgresql-value-too-long-for-type-character-varying500
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#168 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABVCDFB7Q7Q2Z72XOMZ55DS6U4K7ANCNFSM4XPNDZ5A>
.
|
On
feature/SOA_Ayesha
branchThe text was updated successfully, but these errors were encountered: