AT: API response for i_like
and like_count
status for comments can get out of sync.
#76444
Labels
Needs triage
Ticket needs to be triaged
[Platform] Atomic
[Pri] Low
Address when resources are available.
[Type] Bug
Quick summary
Upon querying the endpoint
/sites/{site_id}/comments/{comment_id}/likes/new
on AT sites, the values returned in the response can sometimes be out of sync and thus objectively wrong.Important context: #76414 (comment).
Steps to reproduce
All steps are executed using a script, not by hand (eg. NodeJS script or a E2E spec).
What you expected to happen
Response from the API should state the following:
What actually happened
Sometimes, the API responds as follows:
Notice the
like_count
stuck at 0, in contradiction to thei_like
line above the count.Impact
One
Available workarounds?
Yes, easy to implement
Platform (Simple and/or Atomic)
Atomic, Self-hosted
Logs or notes
No response
Related: #75952, #76414
The text was updated successfully, but these errors were encountered: