Problem/Motivation
The sub-module "Sendgrid Integration Reports" is not working with the API key implementation.
Steps to reproduce
1. Install the following modules: sendgrid_integration, sendgrid_integration_reports, key
2. Create API key and assign the key in Sendgrid settings page.
3. Now visit the report page "admin/reports/sendgrid". You will see no data available.
Proposed resolution
Create a patch to fix the bug.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 3259693-5.patch | 1.2 KB | idebr |
Comments
Comment #2
finaukaufusiHere's a patch to fix the api key.
Comment #3
finaukaufusiUpload the correct patch file.
Comment #4
perignon commentedI believe this has already been addressed. Switch to the 2.x dev to get the latest updates.
Also for most all modules you will find maintainers will want patches only against the latest dev, no one really patches old versions of modules.
Comment #5
idebr commentedThis is still an issue on the 8.x-2.x branch.
Attached patch syncs the implementation of settings the API key between \Drupal\sendgrid_integration\Plugin\Mail\SendGridMail and \Drupal\sendgrid_integration_reports\Api, so the sendgrid.settings.apikey is interpreted as an API key even with the Key module installed.
Comment #6
anneke_vde commentedI tested patch #5, when applied I see data at "admin/reports/sendgrid".
Comment #7
perignon commentedI would re-test with the latest dev code. This patch is out of date. Also just before this patch is this code which does the same thing:
Comment #8
perignon commented