Opened 15 years ago
Closed 14 years ago
#2192 closed defect (bug) (fixed)
Forums: Redirect url errors and messaging issue when topic_title (or topic_text) is empty
Reported by: | nuprn1 | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | major |
Severity: | Version: | ||
Component: | Forums | Keywords: | |
Cc: |
Description
View Group
View Group Forum tab
Click on 'New Topic'
Leave title blank, enter textarea foobar
Click 'Post Topic'
Error message is displayed - but no reason to what went wrong.
empty( $topic_text ) ) and add a core_message for each one. |
Also after submission of the new topic, the page is redirected to a funky url:
http://localhost/buddypress/groups/foobargroup/forum/topic//
Expected: to redirect back to
http://localhost/buddypress/groups/foobargroup/forum/
this happens on the group level and forums directory
When posting from the forums directory, the funky url is:
http://localhost/buddypress/groups/foobargroup//forum/topic//
This was fixed in [3347].