Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The synced data is not displayed correctly for a synced user after initial syncing #19455

Closed
VolodLytvynenko opened this issue Mar 29, 2024 · 7 comments · Fixed by #19938
Closed

Comments

@VolodLytvynenko
Copy link
Contributor

VolodLytvynenko commented Mar 29, 2024

Probably this issue will be fixed together with #19454

Steps:

  1. Device A performs the following actions:
    1. Receive contact Request and approve it from User1
    2. Receive and send a few messages in 1-1 chat from User1
    3. Receive contact Request and decline it from User2
  2. Device A generates QR code
  3. Device B scans this QR code generated by Device A

Actual result

i. The approved contact request from User1 is not shown in the Activity Center for Device B, but in fact both users are mutual contacts
ii. Messages are not shown for Device 2 in 1-1 chat
iii. The declined Contact request from User2 is not shown in Activity Center for Device 2

What Device 1 sees in the Activity center
image

What Device 2 sees in the Activity center
image

Expected result:

All data should for synced Device B should be shown in the same way as for Device A

logs of Device B

Status-debug-logs.zip

@ibrkhalil
Copy link
Contributor

@VolodLytvynenko Can we validate this is still reproducible?

@VolodLytvynenko
Copy link
Contributor Author

VolodLytvynenko commented Apr 19, 2024

@VolodLytvynenko Can we validate this is still reproducible?

@ibrkhalil unfortunately can't check it due recent blocker #19655

@cammellos
Copy link
Member

@VolodLytvynenko would you mind trying again after the fix?

@VolodLytvynenko
Copy link
Contributor Author

@cammellos @ibrkhalil Thanks for the ping. Today I will check this one more time

@qfrank
Copy link
Contributor

qfrank commented May 6, 2024

@cammellos @ibrkhalil Thanks for the ping. Today I will check this one more time

Hi @VolodLytvynenko , any update on this?

@VolodLytvynenko
Copy link
Contributor Author

@cammellos @ibrkhalil Thanks for the ping. Today I will check this one more time

Hi @VolodLytvynenko , any update on this?

Hi @qfrank issue still reproduced. Just updated the issue description and logs here. Sorry for testing delay

@qfrank qfrank self-assigned this May 6, 2024
@qfrank
Copy link
Contributor

qfrank commented May 7, 2024

relate error log for HandleSyncContactRequestDecision

ERROR[05-07|05:11:00.179|github.com/status-im/status-go/protocol/messenger_contacts.go:282]                                                 contact request not found                contactRequestID=0x9ed553fbdab12c1db4f91b14851abae76d9c49e8ab95ee12db515ba9ccf55188 error="record not found"
ERROR[05-07|05:11:00.179|github.com/status-im/status-go/protocol/messenger_sync_raw_messages.go:187]                                        failed to HandleSyncContactRequestDecision when HandleSyncRawMessages error="record not found"


INFO [05-07|05:11:00.177|github.com/status-im/status-go/protocol/messenger_contacts.go:165]                                                 declineContactRequest 
ERROR[05-07|05:11:00.178|github.com/status-im/status-go/protocol/messenger_sync_raw_messages.go:187]                                        failed to HandleSyncContactRequestDecision when HandleSyncRawMessages error="record not found"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment