Though reporting/flagging is working on post preview page, but it is not working on direct post page

in #utopian-io6 years ago

Project Information

Expected behavior

Post reporting/flagging should work on both preview and direct post page on hede.io

Actual behavior

Though i am able to report a post from preview page but I am unable to report/flag a post from direct post page.

How to reproduce

  • First of all log in with your posting key on hede.io

  • Now open a random post from hede.io . I tested with this one- https://hede.io/hede-io/@readarthurss/amala

  • Now try to report/flag post from direct post page(not from preview page)

  • You will see that nothing is happening.

  • Browser version: Chrome Version 67.0.3396.87 (Official Build) (64-bit)

  • Operating system: Windows 8.1

Technical analysis

Below error occured on console log

hede-vendor.4eb37679e81dd7a21faf.js:1 Uncaught (in promise) Error: Forbidden
    at c.<anonymous> (hede-vendor.4eb37679e81dd7a21faf.js:1)
    at c.r.emit (hede-vendor.4eb37679e81dd7a21faf.js:1)
    at XMLHttpRequest.t.onreadystatechange (hede-vendor.4eb37679e81dd7a21faf.js:1)

Recording Of The Bug

rec-2018-06-30-20-52-57

It should work like below gif

rec-2018-06-30-21-12-42

GitHub Account

https://github.com/sourovafrin

Github issue

https://github.com/Hede-io/hede.io/issues/11

Sort:  

Hi @sourovafrin, the behavior was replicable.

Below is my feedback:

  1. The post title does not completely follow the submission guideline. Submission title should include the app name and version number, as well as a brief description of the occuring issue ([Product Name] [Product Version] – Succinct description of the bug).

  2. The expected and actual behavior were clear enough but appeared informal. You should avoid using the personal pronoun I when giving descriptions. For instance you could have said - While the flag button downvotes a post in the main or user's feed, it does not respond when clicked in an opened post.

  3. The steps provided were straight to the point and easy to follow.

  4. I see you provided a console log in an attempt to pinpoint the cause of the issue. The error log confirms there was an error but the exception was not caught, so it is passed via the promised rejection. Well, this does not show what caused the error. You are meant to refer to and analyse the particular line of code provided in the log.

  5. I see you did not propose a fix. You were unable to ascertain the cause, so it is very understandable of you to not have a solution to a problem you don't know.

I hope this feedback helps. I look forward to your future contributions.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Thanx for your time @fego .
I generally use busy to know the version.
But for hede there is no version.
can you kindly let me know the version of hede.

Hey @sourovafrin
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.19
TRX 0.12
JST 0.027
BTC 64928.52
ETH 3525.30
USDT 1.00
SBD 2.36