Task #58408

Disable manualy persisting

Added by Carsten Bleicker over 7 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-05-02
Due date:
% Done:

0%

Estimated time:
Sprint:
PHP Version:
Has patch:
No
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.

No data to display

Also available in: Atom PDF