-
Notifications
You must be signed in to change notification settings - Fork 212
[$20]Registration: Challenge terms displayed even if the user has already agreed to the terms #4548
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
Comments
@topcoder-platform/topcodercompetitors @topcoder-platform/tcxcommunity this is open for pickup Submit in 8 hours and PR to https://github.com/topcoder-platform/community-app/tree/integration-v5-challenge-api run |
Contest https://www.topcoder.com/challenges/30130201 has been created for this ticket. |
Contest https://www.topcoder.com/challenges/30130201 has been updated - it has been assigned to cagdas001. |
What is the password of |
|
Did you try |
@cagdas001 , thats my production user id. Please use your handle. |
@rootelement Yes I tried it, didn't work. The issue is that, the login link redirects me to the https://accounts.topcoder.com domain while the beta domain is actually https://beta-community-app.topcoder.com I couldn't find a login link on beta instance so can't login with |
Okay, thank you. I thought it won't prompt me the dialog with my own username since I already agreed them before, but it did. Now I can reproduce |
Yes, thats the error. The Front end prompts even when the user is already agreed to the terms. We need to check if the user is already agreed, before displaying the prompt. |
Releasing as I'm currently having some issues with |
Contest https://www.topcoder.com/challenges/30130201 has been updated - it has been assigned to PkDurlabhji. |
@PrakashDurlabhji wait for confirmation on v5 terms API shift |
@sushilshinde shall I proceed with this? |
Yes use terms v5 api |
@sushilshinde working |
@SathyaJayabal was it ever working perfectly?
|
@sushilshinde I guess terms api not yet on V5 because this is not working https://api.topcoder.com/v5/terms/detail/21303 Need clarification label was removed by me mistakenly. |
@SathyaJayabal @sushilshinde can anyone please raise a ticket v5 terms api migration on respective repo? Apology for removing need clarification label earlier |
@PrakashDurlabhji , please see below documentation for v5 terms api. https://github.com/topcoder-platform/terms-service/blob/dev/docs/swagger.yaml |
@luizrrodrigues can you also guide @PrakashDurlabhji in implementation as your issues also related. |
@PrakashDurlabhji Instead @sushilshinde I think this one is a duplication of #4562 Both issues need to update the terms to use V5 API. |
@sushilshinde thanks. Also I am actively trying to make a call from postman. @SathyaJayabal @luizrrodrigues I do not find in swagger https://github.com/topcoder-platform/terms-service/blob/dev/docs/swagger.yaml
I am stuck here |
@SathyaJayabal @sushilshinde @luizrrodrigues Though I feel its not correct usage of api, I am bit confused.
I feel everything is smooth for terms details but not for getting all terms of a challenge. |
@SathyaJayabal waiting for endpoint just for note down: http://localhost:3000/challenges/847bc43a-53c1-4cdd-a2ac-d3a7eb5ee25c |
You need to use the array of terms on the challenge response, then call the terms api for details. Right now there's no multi-id filter, so you'll have to hit it for each. The order of operations here should be:
This is similar to how it's done in the resources api: |
@PrakashDurlabhji Please check about duplication with @sushilshinde |
Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30130201 |
Registration: Challenge terms displayed even if the user has already agreed to the terms. Onclicking on agree nothing happens and the user cannot proceed to register. We see the following error in the api response

https://api.topcoder.com/v2/terms/21303/agree
https://beta-community-app.topcoder.com/challenges/adb02d6f-dcc6-4fcc-b7a4-a16c7d173839
user:picachui
Another example:https://beta-community-app.topcoder.com/challenges/d3886070-f6f7-4f23-81b5-9fb7e3272c06
The text was updated successfully, but these errors were encountered: