Skip to:
Content

BuddyPress.org

Opened 2 years ago

Closed 6 months ago

#8112 closed defect (bug) (fixed)

Activity post form error message

Reported by: studiocrafted Owned by: 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 6 months ago.

Download all attachments as: .zip

Change History (4)

#1 @studiocrafted
2 years ago

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

@imath
6 months ago

#2 @imath
6 months 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
6 months 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.