Confirm REST controller cache key generator uses POST body #256
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#256
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?
Cache key generator might not be looking at the POST body which means there are possibly cache issues from the hazaar-forms library which forward API calls as posts.
assigned to @jamie
So here's the code in question. As we can see it uses
$this->request->getParams()
in the key generator which will be populated with POST data if the request is a POST request.I will still be testing to confirm that POST data is used correctly, but at first glance this is not the issue.
Working as expected.