4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Fixed bug when contributions had the same title

The issue

When two contributions had the same title a bug was causing the links to point to the same content. This means that the in some cases, the contribution was being shown with the wrong author. Here's the GIF showing the problem:

Solution

The bug was caused by a wrong query in the contributions to find the correct contribution to render. To show the proper contribution the query must include the author name and the permlink. But the first one was being ignored. In most cases, this wasn't a problem because the permlinks usually are different from each other, but there are cases that they are the same.

Links

Screenshot from 2018-03-14 18.14.26.png



Posted on Utopian.io - Rewarding Open Source Contributors

23 upvotes $15.58

Replies (2)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: