Actions
Bug #15231
closedNo error page shown when using simulatestatic even if alias doesn't exist
Start date:
2005-11-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
Actions