jonzenor / ChristianGuilds

An awesome tool for Christian gaming guilds to host their websites on and offer a rich community experience with the larger Christian gaming community.
0 stars 3 forks source link

making user name/pushover key too long makes sql querry error #212

Closed Planet-math closed 4 years ago

Planet-math commented 4 years ago

Describe the bug :boom: if you go edit a user and make thier name way too long it causes a querry To Reproduce :dizzy: Steps to reproduce the behavior:

  1. Go edit your self
  2. put an extremly long string in you name
  3. enter
  4. See error

Expected behavior :exclamation: it would tell me somthing like "name canbnot be longer the 255 digits" Screenshots :sunrise_over_mountains: If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information): :iphone: :computer:

Additional context :space_invader: a Little charater issue happens in the adding and editing a game where adding a genre the short name must be below 36 but when you add it it must be below 32