Reviewed & tested by the community
Project:
TOC filter
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2026 at 20:50 UTC
Updated:
16 Apr 2026 at 15:21 UTC
Jump to comment: Most recent
Comments
Comment #3
liam morlandComment #4
schillerm commentedHi, reviewed this change, was able to reproduce the error. Was not able to delete the "default" Table of contents type via the GUI so ended up using drush config:delete toc_api.toc_type.default to do this.
Was able to see the error message described in the issue.
Switching to issue branch and after a drush cr + page refresh the error is gone, I can also see the "No TOC types are defined..." message as expected. The filter seems to work even when there are no Table of contents types.
Code change seems simple and makes sense to me. Moving to RTBC.