It seems that when notified to review the application of a new user to my forum, and I reject the application using the ‘Delete User’ option, and in the process select the option to include an emailed note explaining why their application was unsuccessful, I now get ‘422 Error’ as the response.
If I omit the note, I am able to delete the user, as before.
Forum generated emailed notifications to signed up users otherwise still work fine.
The currently installed Discourse version is 3.2.0.beta5-dev
Forum error logs corresponding to the date of this occurance (today) below
5
Deprecation notice: `SiteSetting.min_trust_to_edit_post` has been deprecated. Please use `SiteSetting.edit_post_allowed_groups` instead. (removal in Discourse 3.3) At /var/www/discourse/app/models/co
1:19 pm
15
Deprecation notice: warning: the email parameter is deprecated. all POST requests to this route should be sent with a base64 strict encoded email_encoded parameter instead. email has been received and
1:37 pm
Email can not be processed: Email::Receiver::AutoGeneratedEmailError Received: from smtp-mx-server-8.servers.netregistry.net (unknown [202.124.241.69]) by nz-mail-receiver.localdomain (Postfix) with
1:37 pm
Email can not be processed: Email::Receiver::NoBodyDetectedError Received: from EUR04-VI1-obe.outbound.protection.outlook.com (unknown [104.47.14.50]) by nz-mail-receiver.localdomain (Postfix) with
1:39 pm
2
ActiveRecord::RecordInvalid (Validation failed: Reject reason is too long (maximum is 500 characters)) app/models/reviewable.rb:362:in `transition_to' app/models/reviewable.rb:335:in `block in perform
1:51 pm
2
Failed to handle exception in exception app middleware : ActiveRecord::RecordInvalid : Validation failed: Reject reason is too long (maximum is 500 characters)
1:51 pm
235
Sidekiq is consuming too much memory (using: 557.11M) for 'nzarchitecture.net.nz', restarting
1:54 pm
38
Deprecation notice: `SiteSetting.min_trust_to_create_tag` has been deprecated. Please use `SiteSetting.create_tag_allowed_groups` instead. (removal in Discourse 3.3) At /var/www/discourse/lib/guardia
2:06 pm
33
Deprecation notice: `SiteSetting.min_trust_to_edit_post` has been deprecated. Please use `SiteSetting.edit_post_allowed_groups` instead. (removal in Discourse 3.3) At /var/www/discourse/lib/guardian/
2:06 pm
I am not sure when/under which Discourse software version this issue first started, as I don’t get many applications, and need to reject very few of those that I do get, but certainly I had encountered no such problem before now, and I have used the same pasted message in previous rejection notifications to applicants.
I see reference to a 'reject reason is too long (maximum is 500 characters), and my standard reject reason text is indeed longer than 500 characters - but this seemed to work previously.
I do think this is important to resolve, as providing a full and satisfactory explanation for any rejection is a basic courtesy to intending applicants, particularly if it is not clear that the application was maliciously motivated (If they fall outside the intended membership criteria but are not obviously bots, marketers or other ‘bad actors’).
This is hard to do within 500 characters if we also want to provide advice to anyone who might want to reapply. If necessary, is there a way to increase the character limit?
This has been requested elsewhere, but I would like to reiterate the request (if any developers see this) that we also have a dropdown list of editable standard ‘reject reasons’ to select from.