[GREENFOOT-368] PlayerData string limit needs work
Copying from my gallery post, concerning the 50-char limit on strings in PlayerData:
-
Update the PlayerData documentation
-
Enforce this 50-character limit locally, so it matches with the server behaviour
-
Either print a message on stdout when you store data that's too long or throw some exception, to help track down this problem
-
Ensure that store() returns false when you pass it something with a string that's too long (both locally and on the website)
-
We could alternatively let the store succeed, but truncate the string being stored. Not sure I like silent failure, though.
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 2.2.0