Page MenuHomePhabricator

login() with retry=True might delete correct password if unknown APIError occurs
Open, Needs TriagePublic

Description

See also T248471

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript

Seems this might really be an issue of zh:ws, but we can't tell for sure until we solve the loops first

Dvorapa renamed this task from login loop 4: get_login_token does poor job urldecoding response and results in badtoken (previously NeedToken) to login loop 4: login process failure not catched by Request.submit() or LoginManager.getCookie() -> catched by LoginManager.login(retry=True) results in deleting password even for passwordfile/noninteractive.Apr 1 2020, 3:29 PM
Dvorapa renamed this task from login loop 4: login process failure not catched by Request.submit() or LoginManager.getCookie() -> catched by LoginManager.login(retry=True) results in deleting password even for passwordfile/noninteractive to login loop 4: login process failure not catched by Request.submit() or LoginManager.getCookie() is passed to LoginManager.login(retry=True) results in deleting password even for passwordfile/noninteractive.
Dvorapa renamed this task from login loop 4: login process failure not catched by Request.submit() or LoginManager.getCookie() is passed to LoginManager.login(retry=True) results in deleting password even for passwordfile/noninteractive to login() with retry=True might delete correct password if unknown APIError occurs.Apr 8 2020, 1:12 PM
Dvorapa updated the task description. (Show Details)