Closed (fixed)
Project:
Webform
Version:
8.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2019 at 18:58 UTC
Updated:
4 Oct 2019 at 13:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dave reidComment #3
dave reidComment #4
dave reidComment #5
jrockowitz commentedThanks for the patch.
For Drush 9.x, everything worked fine.
For Drush 8.x, I had to remove some of the table prefix detection code which was throwing an error. I also looked at the Webform D7 drush command.
I also moved the drush 8 hooks into a dedicated file.
Finally, I also added the webform_submission_log table to list of tables to be truncated.
Comment #6
jrockowitz commentedComment #7
jrockowitz commentedI ran through the UAT one more time and for Drush 8.x, I had tweak the code to use exactly what was setup in Webform 7.x-4.x to get the truncation to work as expected.
Comment #9
jrockowitz commentedI committed the patch. Please download the latest dev release to review.