Closed (fixed)
Project:
Webform Mailchimp
Version:
8.x-5.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2017 at 06:53 UTC
Updated:
21 Jul 2017 at 03:12 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hendrik.fuss commentedsame issue here, with core 8.3.0
Comment #3
autopoietic commentedWebformHandlerBase constructor is expecting an additional parameter. I have attached a patch to resolve this.
Comment #4
autopoietic commentedComment #5
hendrik.fuss commentedPatch works for me, thanks!
(Can't get to select the email field now, but that's another issue. Will investigate.)
Comment #6
autopoietic commentedComment #7
johnhanley commentedPatch +1
Comment #8
metakel commentedThe patch works for me. Thank you!
Comment #9
cmckay commentedHas this been rolled into dev as yet?
Comment #10
cmckay commentedAfter adding the patch, I am getting
ResponseText: Recoverable fatal error: Argument 5 passed to Drupal\webform\WebformHandlerBase::__construct() must implement interface Drupal\Core\Config\ConfigFactoryInterface, instance of Drupal\Core\Entity\EntityTypeManager givenComment #11
cmckay commentedWas able to reproduce this on a fresh install on Simplytest, changing this to active.
Comment #12
chismen commentedSame error, with patch:
Webform 8.x-5.0-beta13 and Webform mailchimp 8.x 5.0
TypeError: Argument 5 passed to Drupal\webform\WebformHandlerBase::__construct() must implement interface Drupal\Core\Config\ConfigFactoryInterface, instance of Drupal\Core\Entity\EntityTypeManager given, called in /var/www/igasesores.dev/modules/webform_mailchimp/src/Plugin/WebformHandler/WebformMailChimpHandler.php on line 30 in Drupal\webform\WebformHandlerBase->__construct() (line 97 of modules/webform/src/WebformHandlerBase.php).Comment #13
hanoiibeta13 changed the constructor signature even more
Comment #14
hanoiiThis is also included in #2883538: Several improvements / Request for co-maintainership among other features. If possible a try of that patch could help get most features in.
Comment #15
cmckay commented@hanoii Thanks for tackling these issues! i can confirm that this patch fixed this issue.
Comment #16
georgi777 commented@hanoii's patch is working.
Comment #17
helonaut commentedConfirmed, @hanoii's patch is indeed working: patch in #13 fixes the issue
Can we add this patch to the main branch / get it published? How can we propose this?
Comment #18
hanoiiI was added as a maintainer, I will add these patches in very soon.
Comment #19
hanoiiCommitted the parent issue, will release a new version in a bit.
Comment #21
bsnodgrass commentedConfirming this patch appears to have been rolled into future versions. Just installed 8.x-5.2 and Webform 8.x-5.0-beta15 (which had a DB update error, see: https://www.drupal.org/node/2896357 if you experience "webform_update_8060 Table webform already exists error"
Thanks for the great work on webform module! and webform_mailchimp!