Issue Bug Closed

#15231No error page shown when using simulatestatic even if alias doesn't exist

Carlos Chiari 11/23/05, 15:10 updated 08/12/06, 14:22

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.