Return to Project-GC

Welcome to Project-GC Q&A. Ask questions and get answers from other Project-GC users.

If you get a good answer, click the checkbox on the left to select it as the best answer.

Upvote answers or questions that have helped you.

If you don't get clear answers, edit your question to make it clearer.

server error when adding too much text in usernotes in virtual-gps

0 votes
Adding more than 65 characters to a usernote in the virtual gps results in a server error 500.
asked Mar 13, 2015 in Bug reports by endator (2,290 points)

1 Answer

0 votes
This is by design. I actually believe the field is 64 bytes large.
answered Mar 15, 2015 by magma1447 (Admin) (218,530 points)
Should not the html input field have a maxlength="64" attribute then?
It may be by design but the error message does not assist the user in determining where the problem lies.
If you add that to the input field you cant add more characters in there and there would be no error message.
But it might not work so good if multi char UTF-8 character is used
Max length has been added in our development environment.