🇮🇳India @omsingh89

Account created on 13 July 2022, over 2 years ago
#

Recent comments

🇮🇳India omsingh89

We are getting below error when an email is queued.
Warning: Undefined array key "from" in Drupal\queue_mail\Plugin\QueueWorker\SendMailQueueWorker->processItem() (line 169 of \web\modules\contrib\queue_mail\src\Plugin\QueueWorker\SendMailQueueWorker.php)

Steps to replicate:
1. Write an custom hook_mail logic. for example:
function my_module_mail($key, &$message, $params) {
$message['headers']['Content-Type'] = 'text/html; charset=UTF-8; format=flowed; delsp=yes';
switch ($key) {
case 'custom_notification':
$message['subject'] = t($params['subject']);
$message['body'] = [t($params['body'])];
$message['from'] = \Drupal::config('system.site')->get('mail');
break;
}
}
2. Trigger email as per logic.
3. Email will get queued and then run Cron to receive email.

FYI, the error is around code written in patch #8
+ $message = $this->mailManager->mail(
+ $message['module'],
+ $message['key'],
+ $message['to'],
+ $message['langcode'],
+ $message['params'],
+ $message['from']
+ );

🇮🇳India omsingh89

Patch for 5.1.0 salesforce version.
Note: This patch is designed to work only for Salesforce Push module and its functionality.

🇮🇳India omsingh89

Thanks @cilefen for checking.
The issue is not occuring for drupal version 10.2.2, but after update to version 10.2.4

🇮🇳India omsingh89

@saschaeggi, could you please check this with the scenario provided?
Thanks in Advance.

🇮🇳India omsingh89

Reopening.
Please find the scenario to reproduce.
If the page does not have any CKEditor enabled field and in the same page when we add a dynamic field like adding a paragraph which has CKEditor enabled field (this paragraph is not load on page load), for this CKeditor field the links are in black instead of blue.

🇮🇳India omsingh89

Patch for 5.0.3 salesforce version.
Note: This patch is designed to work only for Salesforce Push module and its functionality.

🇮🇳India omsingh89

@saschaeggi, We have gin_toolbar version 8.x-1.0-rc3 enabled, the above issue is happening for few content type only.

🇮🇳India omsingh89

Is it possible to release this functionality for Ckeditor 5?

🇮🇳India omsingh89

Our project had a requirement to map a webform to a different salesforce Instance other than the default salesforce auth provider selected.
We are using only Salesforce Push trigger option, created a patch for this enhancement:

  • Provided a configration in mapping form '/admin/structure/salesforce/mappings/add' to choose the salesforce auth provider to push the current webform submission
  • Based on the Auth Provider selected, the Salesforce object will load, and also the salesforce fields.
  • Salesforce Push is working.

Could others try this patch out?

🇮🇳India omsingh89

Transformed the patch #17 into a working patch for Drupal 9.5.x. For Media Core module patch use 'user media-enable-image-resize.patch' patch from #30, and created a new patch for CKEditor 4 Contrib module: 3132211_drupal_ckeditor_4_resize.patch

🇮🇳India omsingh89

Unable to apply patch ckeditor-enable-image-resize.patch #30
Drupal Core: 9.5.3, PHP: 8.1

Production build 0.71.5 2024