- Repository: https://github.com/holgern/beem
- Project Name: Beem
I expected i will be able to create a new post with a old post title.
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>)
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
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