Apps-android-commons: After switching to different account, contributions screen shows pictures of previous account

Created on 14 Apr 2021  Â·  9Comments  Â·  Source: commons-app/apps-android-commons

  1. Be logged into your usual account
  2. Log out
  3. Log into another account (which has never uploaded anything)
  4. Expected: Contributions screen is empty. Actually: Showing 10 pictures from the usual account.
bug

All 9 comments

Hey @nicolas-raoul, I think PR #4337 solves this issue too, but I am not sure about the #4286 as I am not able to reproduce the exact issue that you have mentioned, in my case still the empty contribution list is appearing. Can you again test the PR with this issue? Thanks!

@nicolas-raoul this is happening because at the time of logout the data is still being fetch so sometimes the images are stores in the table after the table is cleared,
solution : every thing must be paused first when the logout is clicked and then the clearing of table must occur .
this will not only solve this problem but the problem with used seeing older contribution or no contribution when they login again problem as well
or
we can load 50 images at a time then load another 50 when the user scrolls to bottom
or
delete the table if exists at every login

Great find!

On Sun, 25 Apr 2021, 06:53 Vinayak Aggarwal, @.*>
wrote:

@nicolas-raoul https://github.com/nicolas-raoul this is happening
because at the time of logout the data is still being fetch so sometimes
the images are stores in the table after the table is cleared,
solution : every thing must be paused first when the logout is clicked and
then the clearing of table must occur .
this will not only solve this problem but the problem with used seeing
older contribution or no contribution when they login again problem as well

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/commons-app/apps-android-commons/issues/4357#issuecomment-826158260,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAYKBXX3CA53KDPRGURXFTTKM4W3ANCNFSM424WTF6A
.

Sorry, if anyone work for this? I want to have a try.

@obsidian-zero Welcome to the project! :-)

@vinayak0505 Are you working on the issue, or can obsidian-zero take it based on your research work?

Let him give it a try

@vinayak0505 @obsidian-zero you are working on this issue ?

Someone else is assigned on it

@vinayak0505 @obsidian-zero you are working on this issue ?

I'm terribly sorry for the delay.I have a lot of things to do during this time. It will take me about another week to be free.
I think you can do it if you want.

Was this page helpful?
0 / 5 - 0 ratings