Feature #34745
Better handling when no key is passed to API middleware
Description
When API middleware receives an action payload with no `key`, it results in dispatching actions such as `undefined_REQUEST` and `undefined_SUCCESS`. This can cause lots of developer frustration. Should error instead so the developer knows what's going on.
Associated revisions
History
#1
Updated by The Foreman Bot 12 months ago
- Assignee set to Jeremy Lenz
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/9179 added
#2
Updated by The Foreman Bot 12 months ago
- Fixed in Releases 3.3.0 added
#3
Updated by Jeremy Lenz 12 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|d1da93b40d9a2f721542fb6fd25125bd6172553e.
Fixes #34745 - Error on API actions if no key is passed (#9179)