Group membership requests seems to be broken

AI-generated summary

A bug has been reported in the Group membership requests feature. nathank and Jongin are experiencing an issue where the Submit Request button remains greyed out despite filling in the required text, preventing them from submitting their requests. simon has identified that this issue only affects groups that allow membership requests but have not added any text to the “Custom template to display to users” field. nathank mentions that leaving this field blank is intentional to encourage users to provide a personal reason. The issue has been fixed in a GitHub pull request as reported by CvX.

When I attempt to image to join a group (from either the /g page or a specific group page), the pop-up works fine.

However, despite filling in lots of text in the box, the Submit Request button remains greyed out and I can’t actually submit it:

This is reproducible here on meta.discourse.org

3 Likes

This seems to be only affecting groups that allow membership requests, but have not added any text to the group’s “Custom template to display to users” field.

The error using Chrome on Ubuntu is: index.js:930 Uncaught TypeError: Cannot set property reason of #<RequestGroupMembershipForm> which has only a getter

4 Likes

In our case, we deliberately tend to leave that blank to encourage the user to give us an actual personal reason. Otherwise, they just click Submit Request with the template text.

Good to know that there is a workaround by simply adding some text in there.

2 Likes

This error is also happening when I send the request

“param is missing or the value is empty: reason”

Fixed in FIX: A regression in RequestGroupMembershipForm by cvx · Pull Request #23699 · discourse/discourse · GitHub. Thanks for the report!

4 Likes

This topic was automatically closed after 24 hours. New replies are no longer allowed.