- First commit to issue fork.
- Merge request !5766Resolve #2511308 "Consider renaming rendererinterfacerenderplain" โ (Closed) created by dimitriskr
- Status changed to Needs review
about 1 year ago 6:28pm 11 December 2023 - ๐ฌ๐ทGreece dimitriskr
I don't know if that is still relevant but I've switched the patch in #1 to a MR, added back the renderPlain() with some deprecation messages and switched again the code for more calls of this method. Also a draft CR is ready
- Status changed to Needs work
about 1 year ago 7:27pm 11 December 2023 - ๐บ๐ธUnited States smustgrave
Seems to have some failures in the MR.
Deprecation can version can be 10.3 and removed in 11.x
- Status changed to Needs review
about 1 year ago 8:28pm 11 December 2023 - ๐ฌ๐ทGreece dimitriskr
Thank you @smustgrave!
I don't know why the test-only job fails, the error is that it cannot find the renderInIsolation() method. And I cannot trigger the other jobs
Also for the spellcheck failure, shall I apply the following change? It capitalizes one letter
*/ - public function testRenderRecursionWithNestedrenderInIsolation() { + public function testRenderRecursionWithNestedRenderInIsolation() { [$complex_child_markup, $parent_markup, $complex_child_template] = $this->setUpRenderRecursionComplexElements();
- Status changed to Needs work
about 1 year ago 8:59pm 11 December 2023 - ๐บ๐ธUnited States smustgrave
The R should be capitalized, tests aren't running because of the spelling error.
- Status changed to Needs review
about 1 year ago 9:11pm 11 December 2023 - Status changed to Needs work
about 1 year ago 2:29pm 12 December 2023 - ๐บ๐ธUnited States smustgrave
Left a few nitpicks, but believe we should add a test that checks the deprecated message.
All instances were replaced though, did a search for renderPlain()
- First commit to issue fork.
- Status changed to Needs review
about 1 year ago 6:19pm 12 December 2023 - Status changed to RTBC
about 1 year ago 7:36pm 12 December 2023 - Status changed to Needs work
about 1 year ago 9:56pm 12 December 2023 - ๐ฌ๐งUnited Kingdom catch
It's still under discussion, but given the amount of changes in core and also usages in contrib, and that 11.0 and 10.3 could be released on the same day, and because the bc layer is just the old function calling the new one, this is the kind of deprecation I think we might now want to do for removal in Drupal 12 instead of 11 so that it doesn't block contrib compatibility with Drupal 11.
- Status changed to Needs review
about 1 year ago 10:28pm 12 December 2023 - Status changed to RTBC
about 1 year ago 1:39pm 13 December 2023 - ๐บ๐ธUnited States smustgrave
Remarking but per slack conversation https://drupal.slack.com/archives/C04CHUX484T/p1702418568197489 this is dependent on what the strategy going forward for 10.3 and 11.x will be.
- Status changed to Needs work
12 months ago 9:11am 29 December 2023 - ๐ณ๐ฟNew Zealand quietone
I applied the diff and searched,
$ grep -r renderPlain core
, and found some instances in comments that need to be changed. Setting to Needs work for those.I read the CR and it is short and concise which is fine in this case.
- Status changed to Needs review
12 months ago 9:14pm 8 January 2024 - Status changed to Needs work
11 months ago 2:58pm 9 January 2024 - ๐บ๐ธUnited States smustgrave
MR is not mergable
Have not re-reviewed yet.
- Status changed to Needs review
11 months ago 3:25pm 9 January 2024 - ๐ฌ๐ทGreece dimitriskr
I rebased yesterday but it wasn't enough
I also found more findings - ๐จ๐ฆCanada Charlie ChX Negyesi ๐Canada
it originally meant "turn this render array into a plain string,
It certainly has confused this old ghost a few times when this method returned HTML instead of plain text.
Strong support for renaming it.
- Status changed to RTBC
11 months ago 7:47pm 9 January 2024 - ๐บ๐ธUnited States smustgrave
Applied the MR and did a search for renderPlain() and all instances minus deprecation have been replaced.
- Status changed to Needs work
11 months ago 3:53am 6 February 2024 - ๐ณ๐ฟNew Zealand quietone
The title of the issue implies that this is still under discussion. Can someone change the title so it reflects the change being made?
Thanks
- Status changed to Needs review
10 months ago 11:14pm 12 February 2024 - Status changed to Needs work
10 months ago 2:59pm 13 February 2024 - ๐ฌ๐ทGreece dimitriskr
dimitriskr โ changed the visibility of the branch 11.x to hidden.
- Status changed to Needs review
10 months ago 4:23pm 13 February 2024 - Status changed to RTBC
10 months ago 6:41pm 13 February 2024 - Status changed to Fixed
10 months ago 11:05am 4 March 2024 - ๐ฌ๐งUnited Kingdom catch
Committed/pushed to 11.x and cherry-picked to 10.3.x, thanks!
Automatically closed - issue fixed for 2 weeks with no activity.