-
Notifications
You must be signed in to change notification settings - Fork 212
[$60]Change submission API version v5 for DELETE calls #3575
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
@sushilshinde the V5 api throws the error |
@callmekatootie can you help here? |
@sumitdaga Can you kindly let me know the id that you are passing to the api... |
@callmekatootie sure |
Contest https://www.topcoder.com/challenges/30112871 has been created for this ticket. |
Contest https://www.topcoder.com/challenges/30112871 has been updated - it has been assigned to daga_sumit. |
@sushilshinde I am not sure about this. You might want to check with @cwdcwd or @dushyantb |
I typed too soon. My bad. @sumitdaga So, use the legacy submission id, GET Here, you will get the v5 submission id, which you will then use in the v5 DELETE request |
@callmekatootie right, the V5 swagger doc also has this documented ..thanks! |
@sushilshinde |
@sumitdaga can you PR the changes? |
@sushilshinde any update here ? |
@sushilshinde |
Hey @sumitdaga sorry about that, I was stuck in the other issues. You will be paid for your work, don't worry about it. |
Hi @sumitdaga will review your submission, let me go through the issue now. |
@sushilshinde no worries, it is not about the money though! |
Hi @sumitdaga There are lint issue with the fix, could you please fix them ? Thanks |
Hi @sumitdaga Which user you used to verify the delete submission ? I used TonyJ account, but it reported me this error: |
@LieutenantRoger indeed i am getting the same error, but IIRC i was not getting this error when i had pushed the PR ...not sure! |
ok, thanks for checking out, let me get some clarification from the team. |
@LieutenantRoger |
Thanks for the patient. I haven't got time to test on current dev environment, the dev environment seems got reset recently. I'll check this later. |
Hi @sumitdaga I just tried the fix, but receiving a lot of errors like this when launching community-app. https://take.ms/0RvkL Thanks much. |
@LieutenantRoger I don't think these are due to my fixes/PR ... |
Hmm,as it can't be verified now,could you please raise a new PR against our latest branch?The modification should only be on topcoder-react-lib,right? |
I will increase the price a bit for the extra work,Thanks much. |
Hi @sumitdaga Sorry for the late response, we have got a base branch now, could you please work on https://github.com/topcoder-platform/topcoder-react-lib/tree/hot-fix-delete-submission Thanks |
Hey @LieutenantRoger |
Hmm, I believe you will have to merge |
ok, sure, i will verify it when i can and let you know! |
The delete operation is returning 204 succeeded, though after we refresh the page, the deleted submission comes back. This might be a backend issue. I'll approve this PR for now. |
@LieutenantRoger , for MM "My Submissions " does not have delete option. For design challenges there does not seem to be any api call to delete the submission and the submission is not getting deleted. Please see attached video. |
I tried the challenge in your video recording, it looks we can delete the bottom two submissions. See the snapshot: https://take.ms/p425s The one presented in your recording might be a wrong submission. |
|
Please clarify above, we seems not on the same page for this ticket. |
Seems the same file can't be deleted twice, I switched to another MM challenge, and tried the delete operation |
It can't be completed before this fix |
Refer to the issue and comment :
#3545 (comment)
Swagger Reference :
https://github.com/topcoder-platform/submissions-api/blob/267ff963ab513cc5db9be965badc5a2a61b92e71/docs/swagger.yaml#L406
PP branches :
https://github.com/topcoder-platform/topcoder-react-lib/tree/hot-fixes-3
In case required - https://github.com/topcoder-platform/community-app/tree/hot-fixes-5
@topcoder-platform/tcxcommunity @topcoder-platform/topcodercompetitors open for pickup
The text was updated successfully, but these errors were encountered: