Issue #3494144 by vokanrak: The cache must be generated separately for paths and for aliases. Test case with multiply aliases. Cache updating logic.
Compare changes
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
@@ -31,7 +31,14 @@ class AliasManager implements AliasManagerInterface {
@@ -62,7 +69,7 @@ class AliasManager implements AliasManagerInterface {
@@ -94,11 +101,18 @@ public function writeCache() {
@@ -123,17 +137,25 @@ public function getPathByAlias($alias, $langcode = NULL) {
@@ -164,15 +186,16 @@ public function getAliasByPath($path, $langcode = NULL) {
@@ -181,10 +204,17 @@ public function getAliasByPath($path, $langcode = NULL) {
@@ -194,19 +224,23 @@ public function getAliasByPath($path, $langcode = NULL) {
@@ -219,17 +253,24 @@ public function cacheClear($source = NULL) {