liquidnft / lnft

Liquid NFT Platform
GNU Affero General Public License v3.0
56 stars 23 forks source link

I couldn't see the offer from the original artist #12

Open ihorml opened 3 years ago

ihorml commented 3 years ago

Steps to reproduce:

  1. user1: Create an artwork
  2. user1: List that artwork
  3. user2: Offer the price
  4. user1: Accept the offer
  5. user2: List the purchased artwork
  6. user1: Offer the price
  7. user2: Can't see the offer

History screenshot of the item (user1 = ihor-million, user = test1)

Screenshot 2021-08-10 at 01 13 51

user2 offers

Screenshot 2021-08-10 at 01 14 20

Btw, user2 can accept the offer using a link in History, but he can't see the offer in Offers

ihorml commented 3 years ago

@asoltys during multiple tests with different items I can say that it's not something easy reproducible. In 5 cases I reproduced it only 2 times but I can't figure out the reproducing steps that work for 100%, because all the 5 times I did the same, and only in 2 cases I couldn't see the offer without any error in the console.

asoltys commented 3 years ago

Thanks, maybe a caching issue. At some point I was experimenting with urql's graphcache functionality: https://formidable.com/open-source/urql/docs/graphcache/

So might need to manually update the cache after new offers are created, or disable caching for the offers query.