Closed (outdated)
Project:
TOC API
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2017 at 17:19 UTC
Updated:
4 Feb 2026 at 17:36 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
vladimirausHow can we test it?
Comment #3
DrupalHack commentedPatch stopped applying after 10.2 upgrade.
Some edge cases of our custom TOC implementation would error on save. updating as a legacy patch.
Comment #4
albert volkman commentedOne missed instance of the renderPlain() method.
Comment #7
albert volkman commentedComment #8
albert volkman commentedRe-rolled patch for 2.0.x branch since I don't have access to the merge branch.
Comment #9
joseph.olstadThis is already fixed in toc_api 2.0.x
Please upgrade to 2.0.x
This will not be fixed in 8.x-1.x
Comment #11
joseph.olstadActually, still looking into this, maybe was too hasty.
Comment #15
joseph.olstadComment #16
joseph.olstadComment #17
joseph.olstadhttps://www.drupal.org/project/toc_api/releases/2.0.1-rc1
Comment #19
joseph.olstadPlease upgrade to 2.0.1-rc1 and let me know how it works out for you. I won't tag 2.0.1 until I get at least some statistics on usage or some kind of feedback.
Comment #20
ericgsmith commented@joseph.olstad the original MR was using renderPlain which would now be renderInIsolation. What was the reason to change to renderRoot?
This has introduced additional errors - see #3553887: Libraries not loaded since renderRoot is used instead of render
edit - since this is old I think maybe it should be reverted and a new issue opened? I'm not actually sure renderInIsolation is correct either - perhaps https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21...
Comment #21
joseph.olstad@ericgsmith, there was a push for Drupal 11 compatibility and bugfixes and maybe this one shouldn't have gone in.
I'll look at 3553887 thanks
Comment #22
joseph.olstadFYI, this was reverted, it caused problems as documented above.
Comment #23
joseph.olstadI'm going to close this issue since a lot of things have changed since 2017 and if this still is an issue I think someone should create a new issue for it.