- Issue created by @alex_sansom
-
jurgenhaas →
committed a022ed00 on 2.2.x
Issue #3365086: Drupal\push_framework\SourceItem::determineAndSetTasks...
-
jurgenhaas →
committed a022ed00 on 2.2.x
- Status changed to Needs review
over 1 year ago 9:03am 7 June 2023 - 🇩🇪Germany jurgenhaas Gottmadingen
Thanks you so much @alex_sansom for this bug report. I have to admit, this is one of the best bug reports in years. Amazing summary and analysis!!!
You're absolutely right, that
\Drupal\push_framework\SourceItem::toArray
causes the issue and to fix this, I've taken even another approach: the local variable$task
gets initialized toNULL
, the\Drupal\push_framework\SourceItem::determineAndSetTasks
checks forNULL
and the\Drupal\push_framework\SourceItem::toArray
now just uses$this->tasks
again, as that variable will now always be initialized.Please give the latest dev release a try and set this issue to RTBC, if it's still working in your use case.
- 🇬🇧United Kingdom alex_sansom
As you suggested, I've just pulled the latest dev version @jurgen_haas and re-tested my scenario.
All looks good to me, I see emails being generated where there were none before!
Thank you very much for your efforts, especially speedy reply and fix.
- Status changed to RTBC
over 1 year ago 2:14pm 7 June 2023 - Status changed to Fixed
over 1 year ago 2:21pm 7 June 2023 Automatically closed - issue fixed for 2 weeks with no activity.