#1987602: Convert ajax_form_callback() to a new style controller accidentally introduced a "route name" in hook menu, which should be "route_name".

However, as stated in #3, the item isn't even necessary at all, so we will remove it.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Letharion’s picture

dawehner’s picture

Is there any way how we can test that?

dawehner’s picture

Status: Needs review » Needs work

The code on the controller does not deal with the theme system at all, as it just returns as json response
so we don't need the entry at all.

Letharion’s picture

Title: File uses "route name" instead of "route_name". » The file/progress hook menu item is not necessary.
FileSize
491 bytes
Letharion’s picture

Status: Needs work » Needs review

Issue summary updated. Patch up for review.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

That is perfect!

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Took me a minute, but basically because this is a MENU_CALLBACK, we don't need a menu item here. The route's already defined in file.routing.yml.

Committed and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

Updated summary up until #3.