Question
2
Replies
139
Views
UHG
Posted: February 18, 2018
Last activity: February 26, 2018
Closed
Agent not able to login into Mobile app.
We have an application which we used to access from both Desktop and also from the mobile app.
One of the Agent is having an issue while logging into mobile app and he is able to login successfully into Desktop application.
Please find the attached log file for the same issue.
We saw this issue on 7.1.8 and it was resolved with a local change to pyweb-login-mobile.js TEXT-FILE rule. The solution was also made in the 7.3 version of Pega at the time.
What version are you currently on? For example, if you are on 7.2.2, the code where the local change is needed was modularized out of pyweb-login-mobile and placed in pyWeb-login-mobile-synchronization.
Change is needed in this code :
case window.launchbox.PRPC.ClientStore.Event.FAILED:
console.error('ProgressionLoader: Client Store synchronization failed with error ' + status.lastErrorCode + ': ' + status.lastErrorMessage);
if (closeAppOnSynchFailed) {
progressionLoader.reportFailure(status.lastErrorCode);
}
break;
Inside this case, we need to check if status.lastErrorCode is equal to window.launchbox.PRPC.ClientStore.error.ALREADY_STARTED. If so, write console.info and do not reportFailure.