Task #58408
Disable manualy persisting
Status: | New | Start date: | 2014-05-02 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
Sprint: | Has patch: | No | ||
PHP Version: | Complexity: |
Description
HTTP says, no writing if GET.
But in Neos f.e. there are several places using hard/manualy persisting somewhere inside the job stack.
You can send f.e. a GET request to a NodeController wich moves an entity. The persistence is invoked manualy.
I dont want to worry about sending GET Requests to the server. I want to be sure "Okay, if you send GET, definitly NOTHING will happen to the system".
So imho $this-persistenceManager->persistAll() f.e. should not be possible in safe requests.
Strictly throw Exception.