Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 3 years ago

#8112 closed defect (bug) (fixed)

Activity post form error message

Reported by: studiocrafted's profile studiocrafted Owned by: imath's profile imath
Milestone: 8.0.0 Priority: normal
Severity: normal Version: 4.3.0
Component: Activity Keywords: has-patch commit
Cc:

Description

When you visit the activity stream and submit the form with an empty value, it will return the error and append to the form.

When you go back and focus on the textarea the error message is removed.

When you resubmit the form with still an empty value the error message does not get appended.

I've tested both on a custom theme and also on twentynineteen using Nouveau.

Attachments (1)

8112.patch (854 bytes) - added by imath 3 years ago.

Download all attachments as: .zip

Change History (4)

#1 @studiocrafted
5 years ago

This has been tested in both Twenty Nineteen and also a custom theme.

@imath
3 years ago

#2 @imath
3 years ago

  • Keywords has-patch commit added; needs-patch removed
  • Milestone changed from Awaiting Review to 8.0.0

Hi @studiocrafted

Thanks a lot for your report and sorry for my late reply. I confirm the issue. 8112.patch is fixing the issue. I'll commit it asap.

#3 @imath
3 years ago

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

In 12891:

Nouveau: clear errors when the Activity Post Form feedback is removed

To make sure a new error is generating a feedback view, the errors attribute of the Activity model needs to be unset.

Prop studiocrafted

Fixes #8112

Note: See TracTickets for help on using tickets.