Problem/Motivation

Devel tabs does not work for webform submissions.

Error from http://localhost/devel/webform_submission/2/render is

The website encountered an unexpected error. Please try again later.

Symfony\Component\Routing\Exception\MissingMandatoryParametersException: Some mandatory parameters are missing ("webform") to generate a URL for route "entity.webform_submission.canonical". in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 171 of core/lib/Drupal/Core/Routing/UrlGenerator.php).

The issue is that the webform route parameter is missing from the local menu tasks.

Proposed resolution

Manually, set webform route parameter from current webform submission using hook_menu_local_tasks_alter().

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jrockowitz created an issue. See original summary.

  • jrockowitz committed f7d379a on 8.x-5.x
    Issue #2843723: Devel tabs does not work for webform submissions.
    
jrockowitz’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

Shyghar’s picture

It's still don't working

jrockowitz’s picture

The page loads for me. The Devel module/PHP is consuming a lot of memory to generate it.