Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pwolanin’s picture

Status: Active » Needs review
FileSize
3.51 KB

simple conversion

Status: Needs review » Needs work

The last submitted patch, 2044539-1.patch, failed testing.

pwolanin’s picture

Status: Needs work » Needs review
FileSize
1.19 KB
4.11 KB
pwolanin’s picture

This fixes the base plugin - we should have just have been pulling the path from the route patten, as we did earlier in the issue where that class was created, instead of trying to use the generator since the base plugin doesn't handle dynamic paths.

pwolanin’s picture

Issue tags: +MenuSystemRevamp, +WSCCI

tagging

janNelx adsasda’s picture

I had the problem but it works now

dawehner’s picture

+++ b/core/lib/Drupal/Core/Menu/LocalTaskBase.phpundefined
@@ -93,15 +93,9 @@ public function getTitle() {
+    // to generate the system path.
+    $route = $this->provider->getRouteByName($this->getRouteName());
+    return trim($route->getPath(), '/');

As written in IRC this is a step backwards, as we would have to use the generate method in the future again.

+++ b/core/modules/user/user.moduleundefined
@@ -814,25 +814,21 @@ function user_menu() {
-  // Other authentication methods may add pages below user/login/.
-  $items['user/login/default'] = array(

I guess we should not remove that feature?

pwolanin’s picture

@dawehner - it would still be possible to add sub-tabs below login, it just doesn't require this hack of an extra default local task.

pwolanin’s picture

dawehner’s picture

FileSize
4.11 KB

Rerolled the patch without the changes in the local action manager.

Status: Needs review » Needs work

The last submitted patch, user-2044539-10.patch, failed testing.

dawehner’s picture

This currently fails because the path with enabled language like /en/user/password. Given this path to menu_item_route_access() fails.
The proper solution for this problem is #2046737: Add a method to the AccessManager that only needs a route name and parameters

dawehner’s picture

Status: Needs work » Needs review
FileSize
1.48 KB

Rerolled against recent yml discovery.

Status: Needs review » Needs work

The last submitted patch, user_tasks-2044539-13.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
FileSize
1.35 KB
2.83 KB

Fixed some of the failures.

Status: Needs review » Needs work

The last submitted patch, user_local_task-2044539-15.patch, failed testing.

dawehner’s picture

Status: Needs work » Closed (duplicate)