Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.10.0, 3.10.1rc1, 4.0.0, 4.0.1rc1
-
None
Description
The following code, which is clearly a redirect to a module, results in a lookup in the url alias table before redirecting:
return $Module->redirectToView( "edit", array( $ObjectID, $version->attribute( "version" ), $EditLanguage ) );
SQL:
SELECT id, parent, lang_mask, text, action FROM ezurlalias_ml WHERE (ezurlalias_ml.lang_mask & 7 > 0) AND action='module:content/edit/4102/3/eng-GB' AND is_original = 1 AND is_alias = 0
The url alias lookup isn't necessary in this case.