[buddypress-trac] [BuddyPress] #2192: Forums: Redirect url errors and messaging issue when topic_title (or topic_text) is empty
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Sun Mar 14 15:10:26 UTC 2010
#2192: Forums: Redirect url errors and messaging issue when topic_title (or
topic_text) is empty
--------------------+-------------------------------------------------------
Reporter: nuprn1 | Owner:
Type: defect | Status: new
Priority: major | Milestone: 1.2.3
Component: Forums | Keywords:
--------------------+-------------------------------------------------------
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//
--
Ticket URL: <http://trac.buddypress.org/ticket/2192>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list