Skip to content

Negative reply values can be displayed for posted questions when deleting spam marked replies #2949

@emilghittasv

Description

@emilghittasv

Preconditions
Sign in to SUMO

Steps to reproduce
Steps to reproduce the behavior:

  1. Post a question against a freemium product.
  2. Leave a question reply.
  3. Mark the question reply as spam via the 3 dotted menu.
  4. Leave another question reply.
  5. Delete both question replies (starting from the question reply posted in step 4).
  6. Navigate to the "My Questions" profile page
  7. Navigate to the community forum page (e.g https://support.allizom.org/en-US/questions/all)

Expected behavior
The replies counter is not displayed.

Actual behavior
The replies counter shows a negative (-1) value.

Screencasts
Image

Desktop:

  • OS: Windows 11
  • Browser: Firefox

Additional context
This issue is reproducible in stage

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    ❓ triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions