- Issue created by @mi-dave
- Status changed to Needs review
over 1 year ago 2:41pm 18 August 2023 - 🇨🇦Canada _randy
Give the patch I just posted a try. Opens up a checkbox for a handful of options on webform submission statuses. This should help.
- Status changed to Needs work
over 1 year ago 3:31pm 18 August 2023 Wow, thanks for the quick turnaround!
Unfortunately it seems
$update = TRUE
when submitting a draft, since the record already exists in the database. But I think that check is no longer needed, since the state will beWebformSubmissionInterface::STATE_UPDATED
when updating an existing record.Also, I think the default value
''
should be[WebformSubmissionInterface::STATE_COMPLETED]
- otherwisearray_search()
triggers aTypeError
, and the handler not run by default.Thanks!
- 🇨🇦Canada _randy
I had a stubbed out implementation of this handy, so able to quickly turn it around!
I have a second commit that fixed the type array issue already.
I'll take a look at the webform status, bit for now, this should probably do the trick.
- Status changed to Needs review
over 1 year ago 5:02pm 18 August 2023 - 🇨🇦Canada _randy
Dev release now has all updates to support this change for those who have not configured their handlers with the status selectors as well as for those using webform draft states that don't use custom Maestro handlers in place.
Great, thanks. Looks good, but I will test it properly on Monday and confirm.
- Status changed to RTBC
over 1 year ago 9:40am 22 August 2023 - Status changed to Fixed
over 1 year ago 8:04pm 22 August 2023 Automatically closed - issue fixed for 2 weeks with no activity.