Bug #15231
closedNo error page shown when using simulatestatic even if alias doesn't exist
0%
Description
INSTALL tool enables the configuratioin of error handling if requested page doesn't exist.
Yet, the mechanism at class.tslib_fe.php doesn't recognize this as an error (maybe feature?) if an unexisting alias is used.
If the $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] is set, I would expect that TYPO3 recognizes that I do not want bogus aliases rendering my root page.
Modifiying two functions at class.tslib_fe.php would enable this behavior:
function fetch_the_id()
and
function checkAndSetAlias().
I attach a file with the modifications.
Maybe it could inserted into core, as there are many extensions out there already extending tslib_fe....
(issue imported from #M1915)
Files
Updated by Alexander Maringer almost 19 years ago
Including the changes would be very appreciated for any people using error handling with simulate static documents.
Updated by Sebastian Kurfuerst almost 19 years ago
Hi,
could you please submit it as a unified patch created with the "diff" tool? That would be of great help.
Greets, Sebastian
Updated by Alexander Maringer almost 19 years ago
Here comes the patch. Should there be also a patch which make domain-specific error pages available?? Thanks for an answer
Updated by Michael Scharkow almost 19 years ago
The diff seems to be reversed, and the error message is a little verbose, but it seems to work well.