Problem/Motivation

The 'submission logging' link on the 'Add Scheduled email handler' popup window points to the wrong location.
When the link is clicked to turn on 'Log submission events', it takes you to the /admin/structure/webform/manage/airport/settings/form page instead of /admin/structure/webform/manage/airport/settings/submissions
This link is set in the ScheduleEmailWebformHandler.php file on line 137.

'#message_message' => $this->t('It is strongly recommended that <a href=":href">submission logging</a> is enable to track scheduled emails.', [':href' => $webform->toUrl('settings-form')->toString()]),

Proposed resolution

Change the code in line 137 to:

'#message_message' => $this->t('It is strongly recommended that <a href=":href">submission logging</a> is enable to track scheduled emails.', [':href' => $webform->toUrl('settings-submissions')->toString()]),

I understand that this is a very minor bug but hope it helps make the project better.
Great module by the way.

Comments

taxicab221 created an issue. See original summary.

jrockowitz’s picture

@taxicab221 Congratulations on earning your first commit credit

I wanted the say "Thanks" for helping out with the Webform module. Learn more about...

jrockowitz’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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