[Steem Blockchain Bug] - Blockchain Gives Posting Authority Error When Using Non Unicode Character

in #utopian-io5 years ago

Project Information

This bug is probably related to the whole Steem blockchain, I have spoken with @asgarth on the @steempeak discord and I believe the front ends will have to fix this bug.

Steem repository:
https://github.com/utopian-io/editor-templates/blob/master/bug-hunting

I have reported that on the @steempeak Discord so that they can add a feature to tell the user that the post body has an invalid character. I hope that more developers get to know this bug that makes the blockchain give a misleading error message.

Expected behavior

It is expected that the post is published flawlessly, or it tells the user that he is using an invalid character.

Actual behavior

When making a post that includes a non unicode character it says that the posting authority is invalid. Which is a very misleading error, because the issue is actually on the post content.

How to reproduce

I have pasted on the oneclickpaste tool the piece from one of my posts that contained a non unicode character. I use Grammarly to correct my grammar, so probably that tool was responsible for inserting this character.

The piece of text is available here:
http://oneclickpaste.com/1870/

Captura1

You can use a tool such as https://www.textmagic.com/free-tools/unicode-detector
To verify that there is an empty space there that is not unicode:
Captura2

Copy everything from the dot to the letter s and try to post that in any Steem front-end, you will see the same error everywhere.

The Console on Chrome with a bit more details (still no relevant info regarding the post body!):
Captura3
Captura4

Here is the error on a few major front-ends for Steem(to reproduce, copy the text from here and try to post it on the front ends):

On Steemit:
Captura4

On SteemPeak:
Captura5

On Steeditor:
Captura6

As you can see, because the blockchain gives a incorrect error message, the front ends don't know what to do and assume the posting authority is wrong, while the issue is on the post body for using a non unicode character.

GitHub Account

https://github.com/igormuba

Sort:  

Hi @igormuba, thanks for making this contribution.

I can see it is your first time contributing to the bug-hunting category. The behavior you observed is particularly strange. I am hoping the feedback below will help you in your future contributions.

My feedback:

  1. The repo you have in the report is not correct. Here is the correct repo - https://github.com/steemit/steem

  2. I like that you contacted the PO of steempeak, but since this affects all frontends dependent on the steem blockchain, you should have opened a corresponding ticket in the appropriate github repository, where it can be acknowledged and looked into by any of the project's maintainers.

  3. And when you are done with the above, you are expected to include a link to the issue you opened in your report to be posted on utopian. Also, note that you get extra points when the issue is acknowledged by the PO.

  4. The "How to reproduce" section of your report is meant to cover the steps to be taken by the reviewer or PO in reproducing the behaviour you experienced. This is usually enumerated in an ordered list for easy reading.

It's great to have you contributing to the category. I hope this feedback helps you in writing better 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? Chat with us on Discord.

[utopian-moderator]

Thank you for your review, @fego! Keep up the good work!

Thanks for reporting this issue and for this detailed post ;)

Hi, @igormuba!

You just got a 0.33% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

Hi @igormuba!

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, @igormuba!

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!

Coin Marketplace

STEEM 0.31
TRX 0.11
JST 0.034
BTC 64852.72
ETH 3178.07
USDT 1.00
SBD 4.20