Utopian Reviews ― Links to Older Questionnaire Results Are Broken
This Utopian contribution describes an issue introduced when https://review.utopian.io was updated to parse questionnaire id's in the URL differently.
CC0 from Pexels/Pixabay
Project Information
- Repository:
https://github.com/utopian-io/review.utopian.io - Project Name:
Utopian Reviews - Publisher:
Utopian.io
Expected behavior
When a user follows a link in a Utopian moderator's comment on a contribution the user is shown the questionnaire and answers for the post.
Actual behavior
If the link is an older one, posted prior to route format changes at commit 4733c3, the user will be shown a blank questionaire.
How to reproduce
Follow this link which was originally posted with this moderator's comment, and should show completed questionnaire 313323.
https://review.utopian.io/result/5/313323
Alternatively, use any similar link posted in a moderator's comment prior to the commit mentioned above.
*Browser/App/OS/Version: Expected to behave the same on any browser/OS. I used Google Chrome OS
Version 70.0.3538.110 (Official Build) (64-bit)
Why this happens ― one way to fix
The routing for the site was changed so that going forward numerals in the id
for the questionaire should be delimited by -
. However, links posted before this change will always point to the old format.
This could be fixed by honoring the old format as a route parameter for id's below a certain threshold, which in turn forwards/redirects to a url with the new format.
Report(s) To Maintainer
- This issue has been opened in the repository here
- The problem was mentioned to the help team on discord
Hi @tdre, thanks for making this contribution
I see the issue has been fixed by @ms10398 in this commit. Although in your interactions with the PO on the issue he claimed to have been aware of the bug, it's a great find regardless.
Feedback:
The submissiion title is exactly as it should be
The discrepancy between what is expected and what is currently at play is very well explained.
The steps you provided were easy to follow.
I like that you analysed what possibly led to the error and the fact that you also proposed a fix. Great work.
Thanks again for making this contribution, I look forward to your future reports :)
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
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]
Thanks for taking the time to moderate and for the great feedback.
Thank you for your review, @fego! Keep up the good work!
img credz: pixabay.com
Nice, you got a 85.35% @minnowbooster upgoat, thanks to @tdre
BuildTeam wishes everyone a great Christmas and bullish Holidays
Want a boost? Minnowbooster's got your back!
Squirrel!
Congratulations @tdre! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
Click here to view your Board of Honor
If you no longer want to receive notifications, reply to this comment with the word
STOP
Hi @tdre!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server
Hey, @tdre!
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!