Closed (fixed)
Project:
Drupal core
Version:
10.1.x-dev
Component:
action.module
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2016 at 09:53 UTC
Updated:
10 Jan 2023 at 19:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
prashant.cComment #3
naveenvalechaI believe this is not a bug but an improvement.
Thanks!
Comment #5
prashant.cComment #6
cilefen commentedI do not see the need to add this variable in this patch.
Comment #7
prashant.cTo keep the consistency we should add
$output,as this is being used in all theswitchstatement cases inhook_help()for this module.Comment #8
amit.drupal commented@Prashant.c Improve your patch.
please review .
Comment #13
andypostNo reason to make changes outside of the scope of the issue https://www.drupal.org/core/scope
Comment #22
danielvezaMakes sense to add the p tags for consistency. Rerolling the patch from #2
Comment #23
danielvezaComment #25
elberI will do a new rerrol
Comment #26
elberComment #27
elberHi I did a reroll, please revise!
Comment #28
danielvezaAS per #13, patch 27 introduces out of scope changes. I think #22 should be used as the patch for this issue. The fails were random fails from ckeditor5. Rerunning the test now.
Comment #29
elberOk I will revise it
Comment #30
elberMoving to needs review
Comment #31
elberComment #32
elberMoving back to needs work because patch #22 failed in Drupal tests (#24) and reroll removed the output variable.
Comment #33
danielveza#22 is passing tests - You can see its green if you look undernealth the patch. The first fail was a random fail from ckeditor5 unreleated to this patch.
We don't need to introduce an $output variable, we can just return the markup.
Comment #34
lucienchalom commentedThe test are passing and the patch in #22 does exactly as asked in the issue summary.
and as said in other comments, is passing the tests.
Its RTBC in my opinion.
Comment #35
xjmThanks everyone for your efforts on this documentation improvement.
As has been explained numerous times on this issue, we do not need to set
$outputhere and should not introduce out-of-scope changes to the patch. The fact that it passes tests does not make it RTBC. There is no test coverage for the content of a help page, so the test result isn't actually all that relevant here. Someone should have manually tested it. I did.The patch in #22 applies fine and is what we want, so I am going to commit that. I am removing credit for the unnecessary reroll in #27 and other scope creep.
Please take care in the future to read all the issue comments of the issue, so that you don't end up spending time rerolling a patch for an approach that was already rejected. Less code is better.
Comment #37
xjmThis is the only change in scope for this issue:
Committed #22 to 10.1.x. Thanks!