Page MenuHomePhabricator

Article Feedback Page - Flag as abuse counter shows very large numbers
Closed, ResolvedPublic

Description

Author: yoni

Description:
Screenshot for the bug

When 'Flag as abuse' is repeatedly clicked, the counter shows unreasonably large numbers.


Version: unspecified
Severity: normal

Attached:

Details

Reference
bz34101

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:13 AM
bzimport added a project: ArticleFeedbackv5.
bzimport set Reference to bz34101.
bzimport created this task.Jan 31 2012, 6:27 PM

yoni wrote:

not easily reproducible on local due to fast turnaround.
problem can be avoided by disabling the link until AJAX call returns.

yoni wrote:

When clicking multiple times, instead of large numbers a (-1) is displayed.
Same bug?

greg wrote:

Added variable in js to disable new "flag feedback" ajax requests while waiting for an existing ajax request to return. Should cut down on multiple submissions interfering with each other, which appears to have been causing the issue with insanely high abuse counts (Not actually sure, since I wasn't able to duplicate that exact issue, though I was able to get the abuse count to be -1). May also fix 34131.