[Beem] [Version: 0.20.21] While tried to Post with a old post title, instead of publishing a new post, beem edits the old post


Project Information

Expected behavior

I expected i will be able to create a new post with a old post title.

Actual behavior

When i tried to post with a old post title, instead of posting a new post, beem edited the old post.

How to reproduce

  • Install beem 0.20.21 on you machine
  • Select an old post and pick the title
  • Now try posting through beem with the same title

You can try with below code


from beem.steem import Steem
stm = Steem(keys=<Your private posting key here>)
stm.post(title=<your tile>,body=, tags=<list f tags>)

Technical Analysis

When a user post from steemit or busy it tries to create a permlink similar to the tiltle if it's available. Like if the title is Hi this is a test than the permlink is similar to this - hi-this-is-a-test. Beem does the same. But if there is already a post with that permlink, steemit, busy tries to post with some addition in the permlink like- db4jnn-hi-this-is-a-test. In case of beem, it always tries to post with the first rule and do not checks if there is a post with that permlink which led this issue of editing the old post. I tried couple of time and here are those transaction on blockchain- 1, 2

Possible Solution

This issue can be fixed, if beem could check if there is already a post with the permlink it created. In case there is already a post with that permlink, beem could add some random string with it which will solve this issue.

Recording Of The Bug

  • Chrome Version 75.0.3770.100 (Official Build) (64-bit)
  • Beem vversion 0.20.21
  • Operating system: Ubuntu 18.04LTS

GitHub Account

https://github.com/sourovafrin

GitHub Issue

https://github.com/holgern/beem/issues/179


Comments 5


Hi @sourovafrin, your post has been upvoted by @bdcommunity courtesy of @priyanarc!


Support us by setting us as your witness proxy or delegating STEEM POWER.

| | | | | | | |
|----|----|----|----|----|----|----|
|20 SP|50 SP|100 SP|200 SP|300 SP|500 SP|1000 SP|

JOIN US ON

12.07.2019 23:17
0

Hey, @sourovafrin. Thank you for your contribution. Good to see that the issue got fixed already. Who could have thought that an issue like this exists on the project? Nice finding it out.
You bug description is very cool and detailed. Well-done. I have not seen a report this detailed in a while. I look forward to your next report.

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]

13.07.2019 09:30
18

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

15.07.2019 23:30
0

Hey, @sourovafrin!

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!

13.07.2019 10:12
0