holgern/beem

[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

Closed this issue · 0 comments

Expected behavior

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

Actual behavior

While i tried to do so, instead of posting a new post, beem edited the old post.

Reason

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 fix

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

https://youtu.be/1OQkmd0x024