Open kazk opened 7 years ago
By "description-only", I mean saved Draft kata without any solutions/tests defined. This type of kata has "languages": [].
"languages": []
curl -s https://www.codewars.com/api/v1/code-challenges/:id | jq .languages #=> []
These needs to be handled better so that users don't encounter errors like the following. (Same underlying issue, listing few ways that users might run into this.)
codewars.com/kata/:id
/kata/:id returns 500 error ApplicationController::ResourceNotFoundError
/kata/:id
500
ApplicationController::ResourceNotFoundError
"Delete" seems to fail because of this:
Workaround is to add some simple solution/tests, save, and delete again.
codewars.com/kata/:id/train/:language
/kata/:id/train/:language returns 500 error undefined method `supported_versions' for nil:NilClass
/kata/:id/train/:language
undefined method `supported_versions' for nil:NilClass
┆Issue is synchronized with this Clickup by Unito
I think this is related (a subset?) of #946.
By "description-only", I mean saved Draft kata without any solutions/tests defined. This type of kata has
"languages": []
.These needs to be handled better so that users don't encounter errors like the following. (Same underlying issue, listing few ways that users might run into this.)
GET
codewars.com/kata/:id
=> 500/kata/:id
returns500
errorApplicationController::ResourceNotFoundError
POST
codewars.com/kata/:id
=> 500"Delete" seems to fail because of this:
Workaround is to add some simple solution/tests, save, and delete again.
GET
codewars.com/kata/:id/train/:language
=> 500/kata/:id/train/:language
returns500
errorundefined method `supported_versions' for nil:NilClass
┆Issue is synchronized with this Clickup by Unito