Comment 3 for bug 1711883

Revision history for this message
Lei Lei (leilei) wrote : Re: A logic error in function get_user_unique_id_and_display_name()

The reproduced steps are complex. However, just from the code itself, I think the error is not hard to be found. The point is, if "request.remote_user" is not None but user.get('name') is None, then the last statement "return (user['id'], user['name'])" will raise a KeyError.