Set response type ignored on controller action return value #5
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
experiment
suggestion
support
Testing
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/framework#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Even if there is a
$this->request->setResponseType('json');
call in a controller action and the action happens to return a non-JSONable result, the response type will not be used. So in the case of an action returning false, it should still return that as JSON.added ~131 label
added ~132 and removed ~131 labels
I'm going to close this because I think it is actually work as desired.
closed
reopened
closed