Bug #24380
closed
Cannot create new posts on the GCDI Commons Group when the title is exactly at the maximum allowed length
Added by Pranav Chinmay 24 days ago.
Updated 9 days ago.
Category name:
Group Forums
Description
After starting a "New topic" on the Forums page in the GCDI Group on the Commons, if the title is exactly at the maximum allowed length (80 characters), it fails to post.
- Status changed from New to Reporter Feedback
- Target version set to Not tracked
Hi Pranav,
Can you provide the topic title you are attempting to use? I just did some testing and I was able to post an 80-character topic title in the group forums without any issues.
Apparently this was used: “Let’s Archive It!” 3 CUNY Archivists on What it Means to Steward Collections
I think it is 77 characters, but it failed to post. Maybe there was some other issue?
- Status changed from Reporter Feedback to Staged for Production Release
- Assignee set to Raymond Hoh
- Target version changed from Not tracked to 2.6.7
Thanks for providing the topic title, Pranav.
The issue is due to how unicode characters are used in the topic title and how the group forum interprets these characters as an extra character. In your example, the quotation characters are using unicode (“, ’ and ”), so this adds three additional characters and surpasses the 80-character limit in the group forum code's eyes. This is a bug with the topic length checking the wrong character encoding, which I've just added a fix for and will be available in next Tuesday's maintenance release.
In the meantime, if you replaced the unicode characters in your example with the following topic title:
"Let's Archive It!" 3 CUNY Archivists on What it Means to Steward Collections
This should post correctly.
Update: I've also posted a bug report to bbPress, the forum software we are using, with the fix -- https://bbpress.trac.wordpress.org/ticket/3664.
- Status changed from Staged for Production Release to Resolved
Also available in: Atom
PDF