[FLOW3-general] RFC: Disable automatic persistence for GET requests

Robert Lemke robert at typo3.org
Thu Oct 13 09:37:44 CEST 2011


Hi Bastian,

Am 13.10.2011 um 02:09 schrieb Bastian Waidelich:

> the subject says it: I'd like to suggest a kind of radical change, that disables persistAll() to be called automatically on GET requests.
> I already started this discussion in the chat today and I know, that it's a bad time to ask for yet another breaking change. But IMO we should at least spend some thoughts about this before the release in order to have a common strategy.


thanks a lot for bringing this up. I agree that GET request generally shouldn't modify data. On the other hand, it's also against the spec to use POST for deleting data. And there are well-known situations which don't allow you to send DELETE or PUT requests which usually results in an emulation through GET + query string.

Anyway, I do want to discuss this, but I also agree with most Sebastian wrote. It's too late for 1.0 and if we want it, it's doable and fits to the general topic of 1.1. Providing a view helper which easily allows to create a delete link using a form would be something we need either way.

If you didn't do that already, let's open an issue for 1.1.

Cheers,
Robert



More information about the FLOW3-general mailing list