Open dimaip opened 6 years ago
Hm, 410 should behave like 404, in the sense that it should just deliver some response with the correct status…
We had exactly that "problem" that our exception-folder got flooded by those exceptions. Since Neos 3.3.15 we cannot reproduce it. Maybe this was fixed, but I cannot see anything the the changelog https://github.com/neos/neos-development-collection/compare/3.3.14...3.3.15 about that.
For Neos 3.2, we added another renderingGroup to solve this problem:
Flow:
error:
exceptionHandler:
renderingGroups:
goneExceptions:
matchingStatusCodes: [410]
options:
logException: FALSE
templatePathAndFilename: 'resource://Foo.Bar/Private/Templates/Error/Default.html'
variables:
errorTitle: 'Entfernt'
errorDescription: '<p>Die angeforderte Seite oder Datei <span id="errorUrl"></span> wurde entfernt.</p>'
@dimaip is this issue still relevant, or did it solve itself somehow ;) ?
410 redirects end up in an uncaught exception. IMO they should be logged (as a INFO or smth), but not just thrown.