- Issue created by @mstrelan
- Status changed to Needs review
almost 2 years ago 3:36am 20 June 2023 - last update
almost 2 years ago 62 pass - last update
almost 2 years ago 61 pass, 2 fail - 🇦🇺Australia mstrelan
Upon further inspection it looks like we already have handling for deleted entities in
\Drupal\scheduled_transitions\ScheduledTransitionsEntityHooks::entityDelete
, we just managed to get ourselves some dangling references to deleted entities by manipulating the db directly. Still, it would be prudent to protect against this. - Status changed to Needs work
almost 2 years ago 3:40am 20 June 2023 - 🇦🇺Australia dpi Perth, Australia
Can we add handling for the other two sibling Views field plugins
- Status changed to Needs review
almost 2 years ago 4:05am 20 June 2023 - last update
almost 2 years ago 61 pass, 2 fail The last submitted patch, 5: 3367794-5.patch, failed testing. View results →
- Status changed to Needs work
almost 2 years ago 4:13am 20 June 2023 - Status changed to Needs review
almost 2 years ago 4:29am 20 June 2023 - last update
almost 2 years ago 62 pass - Status changed to RTBC
over 1 year ago 2:57am 3 September 2023 - 🇳🇿New Zealand john pitcairn
So I opened a whole new issue and MR like an idiot ...
This fix also allows the views field handlers to be used more generically beyond the views supplied by this module - ie in a revisions view where most revisions may not have any scheduled transitions. Very useful, thanks.
- Status changed to Needs review
over 1 year ago 3:05am 3 September 2023 - 🇳🇿New Zealand john pitcairn
Ah, no. It's not just the entity that may be missing, it's also the transition. Guarding against a
null
transition allows more generic use of the field handlers.Should we:
A - leave this issue as-is and reopen 🐛 Fatal error: Views field handlers should check transition is not null Needs work to address more generic use, or
B - widen the scope of this issue slightly to handle it here? - Status changed to RTBC
over 1 year ago 4:00am 5 September 2023 - 🇳🇿New Zealand john pitcairn
Reopening 🐛 Fatal error: Views field handlers should check transition is not null Needs work .
Think this can be RTBC.
- 🇨🇦Canada joseph.olstad
Thanks for this, adding this patch to our build. Seems like the right thing to do.