Skip to:
Content

Opened 9 years ago

Closed 8 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.

Suggestion: check for if ( empty( $topic_title )
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//

Change History (1)

#1 @boonebgorges
8 years ago

  • Resolution set to fixed
  • Status changed from new to closed

This was fixed in [3347].

Note: See TracTickets for help on using tickets.