in redirect.links.menu.yml the 'Add redirects' menu item is set to redirect.list route. It should be set to redirect.add route.

Comments

Jody Lynn created an issue. See original summary.

mr.baileys’s picture

Issue tags: +Quick fix, +Novice
axelc’s picture

axelc’s picture

Status: Active » Needs review
axelc’s picture

mr.baileys’s picture

Status: Needs review » Reviewed & tested by the community

Branch is still failing due to #2929832: Move migration_templates directory to migrations, so no automated tests for now.

I've reviewed the patch, and manually tested it on simplytest.me, RTBC.

jody lynn’s picture

Thanks axelc and mr.baileys

berdir’s picture

Status: Reviewed & tested by the community » Needs work
+++ b/redirect.links.menu.yml
@@ -8,7 +8,7 @@ redirect.list:
 redirect.add:
   title: 'Add redirects'
   parent: redirect.list

While touching this, lets also fix the title to be Add redirect, you can't add multiple redirects at once and then it is consistent with the local task.

arunkumark’s picture

Assigned: Unassigned » arunkumark
arunkumark’s picture

Assigned: arunkumark » Unassigned
Status: Needs work » Needs review
StatusFileSize
new396 bytes

As per the comment #8 i have updated the patch.

kiruba karan’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new34.86 KB

Able to add the patch through command prompt. Also, I have tested this functionality. Both the link and title are changed and working as expected. Here I attached the screenshot for the reference.

  • Berdir committed 591a9ad on 8.x-1.x authored by axelc
    Issue #2930347 by axelc, arunkumark, kiruba karan: Wrong route for 'Add...
berdir’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

Status: Fixed » Closed (fixed)

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