Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Voting on un-votable comments (like deleted ones), shouldn't be allowed. #204

Open
shenoy-anurag opened this issue Apr 2, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@shenoy-anurag
Copy link
Owner

Description

Voting on Comments doesn't change upvote/downvote score as the logic returns when no comment history is found.
Steps to Reproduce

Steps to reproduce the behavior:

  1. Create a Comment.
  2. Delete the comment, thus making it "un-votable".
  3. Upvote/Downvote the same comment. (Note UI will not show Upvote/Downvote buttons, but someone could send a payload).

Expected behavior

No vote should be registered if comment is "un-votable".

System Information:

  • OS: Any
  • Version: Any
  • Browser: NA (Used Postman v9.15.8)
@shenoy-anurag shenoy-anurag added bug Something isn't working sprint4 All issues that pertain to Sprint4 labels Apr 2, 2022
@Ganesh96 Ganesh96 added this to the Sprint 4 milestone Apr 2, 2022
@shenoy-anurag shenoy-anurag removed the sprint4 All issues that pertain to Sprint4 label Apr 21, 2022
@shenoy-anurag shenoy-anurag removed this from the Sprint 4 milestone Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants