status-mobile icon indicating copy to clipboard operation
status-mobile copied to clipboard

No old messages (>1 year) are shown in chat view when importing DB

Open churik opened this issue 3 years ago • 1 comments

Bug Report

Problem

It is a blocker for re-using imported DBs.

Expected behavior

Can see old messages

Actual behavior

Messages are shown in preview, but no messages are shown when opening chat view

https://user-images.githubusercontent.com/4557972/191020765-170ecbbf-1294-4e4b-ad79-449aed6f24da.mp4

Reproduction

  1. Open Status, restore user reform poem exhibit champion opera industry square erupt other kid gloom latin, log out
  2. Import DB for upgrade from here

Additional Information

  • Status version: release 1.19, 1.20
  • Operating System: Android
  • Logcat: log_db.log

churik avatar Sep 19 '22 12:09 churik

cc @qfrank

churik avatar Sep 19 '22 12:09 churik

Apparently the database's integrity was compromised in this commit https://github.com/status-im/status-mobile/commit/1f7fd17ff1903dca3db24c949a1a5403301984a9 by @jakubgs

The database from older commits works as expected.

@churik if that's it lets close the issue.

rasom avatar Oct 04 '22 11:10 rasom

Yes, I'll restore the previous dbs before commit. HUGE thank you from QA for resolving this!

churik avatar Oct 04 '22 11:10 churik