Updated: Comment 0

Problem/Motivation

We have a new local actions API, but most of core is not yet converted.

Proposed resolution

Convert them in order to find potential problems as well as remove the old system out of menu.inc

Remaining tasks

User interface changes

API changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Needs review
Issue tags: +Needs manual testing
FileSize
13.47 KB

There we go.

Notes:

dawehner’s picture

Issue tags: +MENU_LOCAL_ACTION

.

dawehner’s picture

This fixes a problem on passing in the proper value of the route name.

Status: Needs review » Needs work

The last submitted patch, local_actions-2100073-2.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
FileSize
15.38 KB

Some more work.

Status: Needs review » Needs work

The last submitted patch, local_action-2100073-5.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
FileSize
2.25 KB
16.92 KB

I realized that we need to get rid of the subrequest for the dialog controller in order to allow to get the title from the route definition.
This would also happen on the NormalizeView issue so we might have to wait on that one.

Status: Needs review » Needs work

The last submitted patch, local_action-2100073-7.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
FileSize
4.31 KB
21.23 KB

Removed some of the tests which still dealt with the assumptions of local actions being in the {menu_links} table

Status: Needs review » Needs work

The last submitted patch, local_action-2100073-9.patch, failed testing.

dawehner’s picture

Priority: Normal » Major
Status: Needs work » Needs review
FileSize
29.71 KB
18 KB

Let's rip out the rest of local actions. I personally think that the existing test is just wrong. If you request for admin/structure/content/add you expect the title of the dialog to be "Add category".

Bumping to major as this rips out the old local action system.

RoSk0’s picture

+++ b/core/modules/aggregator/aggregator.module
@@ -17,6 +17,7 @@
+  debug($path);

Does this belong here?

dawehner’s picture

Good catch!

dawehner’s picture

.

tim.plunkett’s picture

Assigned: Unassigned » tim.plunkett

This still needs manual testing, and I will do that later tonight, unless someone swoops in before me.

ParisLiakos’s picture

Issue summary: View changes
Issue tags: -Needs manual testing

Code-wise this looks good.
i manual-tested though and evrything work, but one thing: the install modules action in the Extend page...all other actions are there and link where they should

dawehner’s picture

Let's add some tests to ensure this works.

dawehner’s picture

Ignore the last tests.

Status: Needs review » Needs work

The last submitted patch, 18: local_actions-2100073-18.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review

18: local_actions-2100073-18.patch queued for re-testing.

ParisLiakos’s picture

Status: Needs review » Reviewed & tested by the community

cool, thanks! lets get this in then.

catch’s picture

Status: Reviewed & tested by the community » Needs work

No longer applies.

dawehner’s picture

Status: Needs work » Reviewed & tested by the community
FileSize
31.04 KB

patch -p1 still worked.

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.x, thanks!

webchick’s picture

Issue tags: +alpha target

Since this falls under "completing the routing system," would be great to target this for alpha5 (Nov 18). Tagging.

webchick’s picture

Oh, man. Sorry. The block still said RTBC. :\

Well. Success! ;)

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 23: local_actions-2100073.patch, failed testing.

ParisLiakos’s picture

Status: Needs work » Needs review

23: local_actions-2100073.patch queued for re-testing.

ParisLiakos’s picture

Status: Needs review » Reviewed & tested by the community

back to rtbc, since it was never committed

catch’s picture

Status: Reviewed & tested by the community » Fixed

Was committed, but my push failed :(

Really pushed now though!

xjm’s picture

Issue summary: View changes
Parent issue: » #2107533: Remove {menu_router}

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.