Problem/Motivation
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Screenshot 2023-06-14 173249.png | 21.36 KB | arti_parmar |
| #2 | Drupal_calls_should_be_avoided_in_classes_use_dependency_injection_instead-3330312-2.patch | 3.36 KB | maithri shetty |
Issue fork eu_cookie_compliance-3330312
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3330312-drupal-calls-should
changes, plain diff MR !121
Comments
Comment #2
maithri shetty commentedComment #3
atul_ghate commentedI will review this patch.
Comment #4
arti_parmar commentedI review your patch.
Comment #5
arti_parmar commentedI have reviewed this patch but patch is not applied cleanly.
Thanks
Comment #6
arti_parmar commentedComment #7
arti_parmar commentedComment #10
shivam_tiwari commentedComment #11
arpitk commentedI reviewed the MR the current changes crashed the modules. Providing the updated MR.
ArgumentCountError: Too few arguments to function Drupal\eu_cookie_compliance\EventSubscriber\EuCookieComplianceConfigEventsSubscriber::__construct(), 0 passed in /app/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 and exactly 3 expected in Drupal\eu_cookie_compliance\EventSubscriber\EuCookieComplianceConfigEventsSubscriber->__construct() (line 65 of /app/web/modules/contrib/eu_cookie_compliance/src/EventSubscriber/EuCookieComplianceConfigEventsSubscriber.php)
Thanks!
Comment #12
arpitk commentedComment #13
arti_parmar commentedComment #14
avpadernoThe issue summary should always describe what should be fixed/changed. Neither the title nor screenshots are sufficient to describe what the issue is, even in the case a patch is provided.
Comment #15
svenryen commentedWe fixed this over in #3366721: \Drupal calls should be avoided in classes, use dependency injection instead
Thanks all for the effort.