Issue #1864272 by dawehner, Crell: Fixed Don't use path.path_manager() service, as it is uncached.

8.0.x
webchick 2012-12-26 09:54:58 -08:00
parent 8cb0a1945b
commit e970ca8f17
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ function views_ui_views_analyze($view) {
continue;
}
if ($display->hasPath() && $path = $display->getOption('path')) {
$normal_path = drupal_container()->get('path.alias_manager')->getSystemPath($path);
$normal_path = drupal_container()->get('path.alias_manager.cached')->getSystemPath($path);
if ($path != $normal_path) {
$ret[] = Analyzer::formatMessage(t('You have configured display %display with a path which is an path alias as well. This might lead to unwanted effects so better use an internal path.', array('%display' => $display['display_title'])), 'warning');
}