CSCfi / CSCfi/rems

Nice errors for invalid references in create/edit APIs

Open
#2,523 0 comments 0 reactions 0 assignees View on GitHub
Enhancement Hacktoberfest Investigate Technical Debt
Dominant language
Clojure
Stars
66
Forks
28
Avg merge
7d 4h
Merged PRs (30d)
2

Description

e.g. trying to create a resource via the API and specifying a nonexistent license results in a HTTP 500 unknown-exception.

This can be easily done in multiple PRs and leftovers can be updated here once some more investigation is done. Also just listing the problems in the API would be useful.

- [ ] check all existing create/edit APIs
- [ ] resource
- [ ] license
- [ ] workflow
- [ ] form
- [ ] catalogue item
- [ ] organization
- [ ] return descriptive errors
- [ ] note/implement any missing API-level tests for these
- [ ] note/implement any missing security tests

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.