Hit url : www.abc.com/webform_submission/1233/salesforce?webform=test_registration

Error :

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 182 of /var/www/html/docroot/core/lib/Drupal/Core/Routing/UrlGenerator.php).

CommentFileSizeAuthor
#4 salesforce_webform-3129879-4.patch1.48 KBdkosbob

Comments

aaronbauman’s picture

Issue summary: View changes

Can you please update to latest 3.x-dev or 4.x-dev version and report if this is still an issue?

ankush_03’s picture

Yes I am using latest version.

dkosbob’s picture

StatusFileSize
new1.48 KB

I just ran into this. It appears Webform expects the webform id as a parameter as well as the weform_submission id, which I guess is not supplied by the SalesforceMappingLocalTask deriver.

In the webform module itself, there is a workaround for the same problem involving the devel module. I've just adapted that work around here, but perhaps there is a better way.

  • AaronBauman committed 0f94b52 on 8.x-3.x authored by dkosbob
    Issue #3129879 by dkosbob: Some mandatory parameters are missing ("...
aaronbauman’s picture

Status: Active » Fixed

Ah, yes, we've worked around this in 4.x
Thanks for the patch - committed to 3.x

ankush_03’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

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