Entered By user is replaced by placeholderUsername after initialisation #5178
Labels
Bug: production
Bug was found or believed to be in a live release
Bug: ????
Placeholder; replace with 'development' or 'production'
Good first issue
Bite sized issues for new contributors
Priority: low
Describe the bug
After initialising mobile, if you login with a different user than the one with whom the transactions has been entered the "Entered by" field of that transaction will be filled by "placeholderUsername". If you then login with the user that entered the transaction then it will appear correctly.
Happened on 8.4.2 and on 8.6.3 as well.
To reproduce
Steps to reproduce the behaviour:
Install mSupply mobile on your tablet. If it is already setup go to the App settings in Storage and clear the data
Expected behaviour
Should see the name of the user who entered a transaction even though he didn't loginsince the new intitialisation
Proposed Solution
Leave if you don't know how to fix/implement. Edit this issue description and explain here if you know the best path of implementing the fix within the codebase.
Version and device info
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: