Skip to:
Content

BuddyPress.org

#8871 closed defect (bug) (fixed)

Unable to send message after fixing missing fields

Reported by: davepullig's profile dave.pullig Owned by: imath's profile imath
Milestone: 11.2.0 Priority: normal
Severity: normal Version: 11.1.0
Component: Messages Keywords: has-patch commit
Cc:

Description

When a user tries to send a message with no subject or content, or attempts to reply to a message with a blank response and clicks Send/Send Reply, the following error messages are displayed:

Please add a subject to your message.
Please add some content to your message.
Your reply was not sent. Please enter some content.

The Send/Send Reply buttons are also disabled; however these are not enabled again if the user populates the missing field(s) meaning they can't send a message.

I can replicate this on a clean WordPress install with just BuddyPress & Twenty TwentyThree.

Change History (6)

#1 @imath
15 months ago

  • Milestone changed from Awaiting Review to 11.2.0

Hi @davepullig

Thanks for your report, I’ll look at it asap.

This ticket was mentioned in PR #90 on buddypress/buddypress by @imath.


15 months ago
#2

  • Keywords has-patch added

Make sure to reset the sending status on sent reply/message errors so that it's possible to use the reply/message form again.

Trac ticket: https://buddypress.trac.wordpress.org/ticket/8871

#3 @dave.pullig
15 months ago

Tested and working as expected.

#4 @imath
15 months ago

  • Keywords commit added

Thanks a lot for your test & feedback, I’ll commit it asap.

#5 @imath
15 months ago

In 13459:

BP Nouveau's message UI: reset the sending status after an error

So that it's possible to send a message or a reply once an error about missing data has been triggered, we need to reset the sending status to false.

Props dave.pullig

Closes https://github.com/buddypress/buddypress/pull/90
See #8871 (trunk)

#6 @imath
15 months ago

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

In 13460:

BP Nouveau's message UI: reset the sending status after an error

So that it's possible to send a message or a reply once an error about missing data has been triggered, we need to reset the sending status to false.

Props dave.pullig

Fixes #8871 (branch 11.0)

Note: See TracTickets for help on using tickets.