- Issue created by @mglaman
- 🇮🇳India sidharth_soman Bangalore
I have changed the base class. Please review.
- last update
over 1 year ago 29,884 pass - last update
over 1 year ago 29,884 pass - last update
over 1 year ago 29,884 pass - last update
over 1 year ago 29,884 pass - last update
over 1 year ago 29,884 pass - last update
over 1 year ago 29,884 pass - last update
over 1 year ago 29,884 pass - Status changed to Needs work
over 1 year ago 11:49am 27 July 2023 - 🇬🇧United Kingdom longwave UK
Thanks - @sidharth_soman please note there is no need to run tests on all available databases, as each test costs the Drupal Association money to run, and it is usually only necessary to run tests once with the default setting by setting the issue to "Needs review".
I think that some of the methods in WorkflowDeleteForm can now also be cleaned up here, as EntityDeleteFormTrait provides them already.
- 🇮🇳India sidharth_soman Bangalore
@longwave - I wasn't the one who applied all those tests. I had simply uploaded the patch without adding any tests. Not sure how that happened.
- 🇬🇧United Kingdom longwave UK
Apologies, I assumed and did not check.
@rushiraval - please see #4 as it appears you added multiple tests here. In most cases just set the status to "Needs review" and a relevant test will be run automatically.
- Status changed to Needs review
over 1 year ago 11:53am 5 September 2023 - last update
over 1 year ago Custom Commands Failed - 🇮🇳India roshni27
Hello,
I removed the getQuestion(), getCancelUrl(), and getConfirmText() methods because these methods are already provided by the EntityDeleteFormTrait. There's no need to redefine them unless you want to customize their behavior.
The submitForm method has also been removed because EntityDeleteFormTrait handles entity deletion, message display, and redirection automatically.
Please review the patch.
- Status changed to Active
over 1 year ago 12:21pm 5 September 2023 - 🇬🇧United Kingdom longwave UK
7 | WARNING | [x] Unused use statement | | (Drupal.Classes.UnusedUseStatement.UnusedUse) 27 | ERROR | [x] Expected 1 blank line after function; 0 found | | (Squiz.WhiteSpace.FunctionSpacing.AfterLast) 28 | ERROR | [x] The closing brace for the class must have an | | empty line before it | | (Drupal.Classes.ClassDeclaration.CloseBraceAfterBody)
- Status changed to Needs review
over 1 year ago 12:25pm 5 September 2023 - last update
over 1 year ago 30,130 pass, 2 fail The last submitted patch, 9: 3377166-7.patch, failed testing. View results →
- last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - Status changed to Needs work
over 1 year ago 3:54pm 8 September 2023 - Status changed to Needs review
over 1 year ago 9:23am 12 September 2023 - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 30,148 pass - Status changed to RTBC
over 1 year ago 2:17pm 12 September 2023 - 🇺🇸United States smustgrave
Applied patch and confirmed I can still delete workflows without issue
- Status changed to Needs work
over 1 year ago 4:37pm 12 September 2023 - 🇺🇸United States bnjmnm Ann Arbor, MI
The issue summary pointed out one of the primary reasons this was a problem
Currently a workflow config entity can be deleted without the site admin being aware of consequential configuration changes.
Had there been test coverage to check for this information, the problem would have been caught/addressed much sooner (or never been an issue at all). Lets add tests that validate this fix and prevent it from regressing.