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().
Comment | File | Size | Author |
---|---|---|---|
#6 | Screen Shot 2017-12-15 at 5.59.15 AM.png | 245.76 KB | jrockowitz |
Comments
Comment #3
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedComment #5
Shyghar CreditAttribution: Shyghar commentedIt's still don't working
Comment #6
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedThe page loads for me. The Devel module/PHP is consuming a lot of memory to generate it.