-
Notifications
You must be signed in to change notification settings - Fork 633
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
Single user syncing - Lesson completion is not restored after second setup of the same learner account #8439
Comments
Update: After revisiting the same case an hour later it appears to be functioning correctly and the lesson progress is displayed correctly. @rtibbles is there a time interval for fully restoring the progress made on the learner's device? |
Just mentioning that I currently have reproduced the initially reported issue and the learner user's lesson progress is not synced correctly after several hours during which I even changed that user's password while the user was signed out and this change was synced correctly. So no idea what's going on here. |
@pcenov Thanks -- would it be possible to share the database file (db.sqlite3) from both sides of the sync, to help with diagnosing? |
Sure, @jamalex - I've now added a link to the Ubuntu and Android logs and DB files in the description. |
This issue has uncovered a really important edge case in how Morango handles "filter specific instance counters" for cases (like single-user syncing) with multiple filters being applied at once. @pcenov It's fantastic that you discovered this before we rolled out 0.15 any more widely! I have a fix in progress that I think should address this, and will hopefully be able to push it (to Morango, at least) by tomorrow. |
Observed behavior
I have setup a learner-only device and have completed a lesson assigned to the learner user which is then synced correctly to the server. After that I've deleted the android app storage and cache and repeated the setup for the same user expecting the lesson progress to be restored while in reality it does not get restored and the learner has to start over.
Expected behavior
Any synced user data should be restored.
Steps to reproduce the issue
Additional information
Admin:
![2021-09-16_12-39-50](https://user-images.githubusercontent.com/79847249/133593574-4c5124df-d5d8-421c-8d79-9e36c04c8fe0.png)
Learner with completed lesson:
![2021-09-16_12-38-33](https://user-images.githubusercontent.com/79847249/133593661-6cf00ade-1a61-45f6-93d7-cea75eda7203.png)
Restored learner device without any indication of the progress made:
![2021-09-16_12-49-17](https://user-images.githubusercontent.com/79847249/133593883-a6232fdc-10af-46c0-a1ed-d4b566ee94b8.png)
Windows Logs
logs.zip
Android and Ubuntu Logs and DB files
https://drive.google.com/file/d/1RAZG77NHuX92puj-KxA-GtkSpx3JxjyZ/view?usp=sharing
Usage Details
The text was updated successfully, but these errors were encountered: