Bug Hunting: Another Error of Steem Post Size

in #utopian-io7 years ago (edited)

The Issue

It was reported by @nationalpark that an article with a table that has more than 2,000 rows could not be posted on steemit.com, while he finally posted a table with 1,000 rows. However, I found that an article with only about 400 lines cannot be posted on steemit.com, unless I reduced it to 150 lines.

The behavior of Steemit.com

When I pasted this article to the default editor interface of steemit.com and clicked the post button, an error in red appeared at the bottom of the editor:

fc::raw::pack_size(trx) <= (get_dynamic_global_properties().maximum_block_size - 256):

and it failed to post.

I removed some lines and tested many times, but the same error message appeared again and again. Finally, I posted the first 150 lines successfully.

Expected behavior

Steemit.com should check the text limit when the user type something in the default editor, or show a online counter displaying how many characters the user can type. If it excesses the limit, a warning message should appear. This warning message should be readable and understandable.

How to reproduce

Copy the text here and paste to the default online editor of steemit.com, and click the post button.

Environment

Windows 7 + Firefox 56



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.
Welcome to utopian and thanks for informing us, yes i see it is a valid bug. layout issue and we should add some kind of counter. Great post and well defined, i am happy to approve your request, Well done sir.
this post was duplicate of here
and the fix was here
And got merged here
But this seems to be still a prolem, if you want it quickly resolved i suggest you to please comment on your issue in the repo(after this gets accepted) with the details i provided to help the maintainers :)
You can contact us on Discord.
[utopian-moderator]

Thank you!

就看懂了环境哈哈哈

超过2000行的表格?娘!

代码好难。
顺便让我深夜哭诉一下:今天我花了整晚写了一篇教程出来(当然参考了大鹏兄你的文章),结果被告知不是开源的。。。呜呜
那就发steemit吧。又收到审核员说我的一篇翻译不合格。
最近乌托邦和我有仇吗。。。呜呜
我不会告诉你我哭诉的想法是希望你给我点个大赞
要不然我也去学写代码吧!

我的大赞现在也没多少钱了......不如去找那软件的作者哭诉,求他把这源给开了吧

我想都没想提,感觉这本末倒置。人家的项目,当然是人家来决定咯。
谢谢鹏兄的赞,你的any赞都是我的大赞!^^

不好意思,最近涌出太多新人需要照顾,我的赞不得不省着点用了......

懂得懂得,辛苦鹏兄了!

Hey @dapeng I am @utopian-io. I have just upvoted you!

Achievements

  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.20
TRX 0.15
JST 0.029
BTC 63725.17
ETH 2619.74
USDT 1.00
SBD 2.82