ID:2696953
 
Resolved
The form for posts didn't set a maxlength for the blurb field.
BYOND Version:N/A (Website Bug)
Operating System:Windows 10 Pro 64-bit
Web Browser:Firefox 90.0
Applies to:Website
Status: Resolved

This issue has been resolved.
Descriptive Problem Summary:
The textarea field for summary description does not have a maxlength attribute but the server refuses to save the post if its over 255 characters. This can lead to losing your post and having to rewrite it if you don't happen for some reason to be running an HTTP proxy which saves your POST requests(i happened to have one running :D)

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ textarea#attr-maxlength

Numbered Steps to Reproduce Problem:
1. Type 256 characters or more in the optional summar description field
2. Get an "unable to save post to database" error

Expected Results:
1) A maxlength attribute on the textarea so that the form doesn't send if it violates that maximum length
2) An error message more descriptive than "Unable to save post to database"

Actual Results:
Losing the text written in the form + an "Unable to save post to database" error

Does the problem occur:
Every time? Or how often? Yes
In other games? N/A
In other user accounts? No clue
On other computers? No clue

When does the problem NOT occur?
When using 255 characters or less

Workarounds:
Having a better grasp of the English language to summarize information in less characters


Lummox JR resolved issue with message:
The form for posts didn't set a maxlength for the blurb field.