Skip to content

[$50] Unable to load profiles of members with usernames with a space #5188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Oanh-and-only-Oanh opened this issue Nov 11, 2020 · 9 comments
Closed
Assignees
Labels
Member Profiles P2 Important (resolve within 3 days) QA Pass in PROD Passed verification on Production tcx_Assigned tcx_FixAccepted tcx_Paid
Milestone

Comments

@Oanh-and-only-Oanh
Copy link

Oanh-and-only-Oanh commented Nov 11, 2020

There are certain handles with spaces like John Dethridge - I am unable to load their profile.
User id: 270505

There are several other like this -- Like Mike Mirzayanov

@Oanh-and-only-Oanh Oanh-and-only-Oanh added Member Profiles P2 Important (resolve within 3 days) labels Nov 11, 2020
@Oanh-and-only-Oanh Oanh-and-only-Oanh changed the title Unable to load profiles of members with usernames with a space [$50] Unable to load profiles of members with usernames with a space Nov 11, 2020
@harshitmehta15
Copy link

Thanks @Oanh-and-only-Oanh

@rootelement
Copy link
Contributor

FYI this works:

curl --location --request GET 'https://api.topcoder.com/v5/members/john dethridge' \
--header 'Authorization: Bearer <<Challenge M2M>>' \
--header 'Content-Type: application/json' \
--data-raw ''

response:

{
    "userId": 270505,
    "handle": "John Dethridge",
    "handleLower": "john dethridge",
    "firstName": "John",
    "lastName": "Dethridge",
    "tracks": [
        "DATA_SCIENCE"
    ],
    "status": "ACTIVE",
    "addresses": [

So the problem may be if the frontend is using v3? Not sure.

@luizrrodrigues
Copy link
Collaborator

Contest https://www.topcoder.com/challenges/30150842 has been created for this ticket.

This is an automated message for luizrrodrigues via Topcoder X

@luizrrodrigues luizrrodrigues self-assigned this Nov 12, 2020
@luizrrodrigues
Copy link
Collaborator

Contest https://www.topcoder.com/challenges/30150842 has been updated - it has been assigned to luizrrodrigues.

This is an automated message for luizrrodrigues via Topcoder X

@luizrrodrigues
Copy link
Collaborator

luizrrodrigues commented Nov 12, 2020

The was with router in community-app, the regex check ignore space in handle name.

@SathyaJayabal Ready For QA in Stag env.
https://staging-community-app.topcoder.com/members/John%20Dethridge

cc @Oanh-and-only-Oanh

@SathyaJayabal
Copy link
Collaborator

@luizrrodrigues , verified
Screenshot 2020-11-13 at 8 41 04 AM
Screenshot 2020-11-13 at 8 41 18 AM

@SathyaJayabal
Copy link
Collaborator

Screenshot 2020-11-24 at 7 43 03 PM

Screenshot 2020-11-24 at 7 43 26 PM

@luizrrodrigues
Copy link
Collaborator

This ticket was not processed for payment. If you would like to process it for payment, please reopen it, add the tcx_FixAccepted label, and then close it again

This is an automated message for luizrrodrigues via Topcoder X

@luizrrodrigues
Copy link
Collaborator

Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30150842

This is an automated message for luizrrodrigues via Topcoder X

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Member Profiles P2 Important (resolve within 3 days) QA Pass in PROD Passed verification on Production tcx_Assigned tcx_FixAccepted tcx_Paid
Projects
None yet
Development

No branches or pull requests

5 participants