unfoldingWord / gateway-translate

A tool for editing and translating text in USFM markup
MIT License
2 stars 3 forks source link

Failed to load the scripture card after login-in back #78

Closed elsylambert closed 1 year ago

elsylambert commented 1 year ago
  1. Login to the app, open a new book and make some edits and save.
  2. Logout
  3. Log back in and Note that the scripture card added in step 1 shows blank. See the errors in the console: Screenshot 2022-11-10 at 9.07.45 AM.png Screenshot 2022-11-10 at 12 12 04 PM
mandolyte commented 1 year ago

@larsgson I think this case is the best reason to consider exposing actions via the pk cache context. In this case, we need a way to remove everything in the cache when the user logs out.

Apparently, things are "sticking" around. This symptom is now probably the root cause of several bugs right now:

elsylambert commented 1 year ago

Not seeing this problem in v0.0.18 build cc1f350. After logging back in, users can see their edited and saved Book Cards.

danielklapp commented 1 year ago

Testing with v0.9.0-rc.2 build 29a2450 QA. Looks good