-
Notifications
You must be signed in to change notification settings - Fork 52
Non task challenge is also not returned with task challenge #276
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
@rootelement @ThomasKranitsas suggested a fix #277. I tried the query in postman by directly calling the ES endpoint but not tested the code itself. Further, I am not sure if it creates issue with any other use case e.g. public challenge listings or not. |
@vikasrohit I've merged the PR to dev. Please test there. If it looks good to you, we can have the QA team test as well. |
@rootelement I think I found the issue. If you check this https://api.topcoder-dev.com/v5/challenges/b91e4c01-ec46-404f-8691-aa631776d0e5 It has:
Note that the |
@ThomasKranitsas is it better to add default values, or check for false OR non-existent? |
I'd say better to add default values.. No need to over-complicate the query as that could have a performance impact |
@rootelement should I fix this? |
Fixed in #292 |
@rootelement I think we don't yet support listing tasks (which are not assigned to the user) for a non admin user, however, I think the current logic is causing non task challenges to to missing from the response as well for non admin users. We have user
pshah_manager
who is not able to see tasks and challenge which were created using the same account. This user is not an admin but it did create few challenges some of which are tasks (few assigned to other users and few unassigned).The text was updated successfully, but these errors were encountered: