Page MenuHomePhabricator

mysql db field for comment/reason ("acr_comment") is limited to 255 characters but input field ("wpReason") is not.
Open, LowPublic


When rejecting an account request or putting it on hold, the input field allows the administrator to write text of unlimited length, but when the reason is saved in the (mysql) database the content gets cut if it is longer than 255 characters, because the corresponding field is of type varchar(255). In postgres it is of type TEXT.
The type for the mysql db field should therefore also be changed to text.
As far as I understood it, the full text gets send to the user who requested the account, it is only cut once it is inserted into the db. So this text mainly affects other administrators who want to see why a certain account request was rejected/put on hold.

Event Timeline

Frog23 created this task.Aug 10 2015, 9:51 AM
Frog23 raised the priority of this task from to Low.
Frog23 updated the task description. (Show Details)
Frog23 added a subscriber: Frog23.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 10 2015, 9:51 AM
Paladox set Security to None.Sep 11 2015, 5:00 PM
Paladox added a subscriber: aaron.

Change 237709 had a related patch set uploaded (by Paladox):
Replace varchar with longtext