You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be a endless loop for CType menu_section when rendering itself.
To Reproduce
Steps to reproduce the behavior:
Create a CType menu_section on any page
Make sure it's got sectionIndex=1
Try to render the frontend
Expected behavior
A clean section index being rendered.
Error
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 36864 bytes) in /var/www/vendor/typo3/cms-frontend/Classes/ContentObject/Menu/MenuContentObjectFactory.php on line 52
TYPO3 version and TYPO3 Headless version
TYPO3 12 / EXT:headless 4.x
Additional context
Problem is that the items of the section index are all being fetched via FriendsOfTYPO3\Headless\DataProcessing\DatabaseQueryProcessor and rendered as tt_content is defined. And that's the cause of the endless loop.
Suggestion
Only render those fields of the items that are really necessary: uid and header that is?
tt_content.menu_section.fields.content.fields.menu.dataProcessing.10.dataProcessing.20 {
fields {
uid = TEXT
uid.field = uid
header = TEXT
header.field = header
}
}
The text was updated successfully, but these errors were encountered:
- restore behavior to output whole record if rendering definition is not set for query processor (solves #718)
- align menus to render less data (only uid, header & processed image if set) to match core fluid-style-content behavior & solve performance issues (solves #715)
- code cleanup
- restore behavior to output whole record if rendering definition is not set for query processor (solves #718)
- align menus to render less data (only uid, header & processed image if set) to match core fluid-style-content behavior & solve performance issues (solves #715)
- code cleanup
- restore behavior to output whole record if rendering definition is not set for query processor (solves #718)
- align menus to render less data (only uid, header & processed image if set) to match core fluid-style-content behavior & solve performance issues (solves #715)
- code cleanup
Describe the bug
There seems to be a endless loop for CType
menu_section
when rendering itself.To Reproduce
Steps to reproduce the behavior:
menu_section
on any pagesectionIndex=1
Expected behavior
A clean section index being rendered.
Error
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 36864 bytes) in /var/www/vendor/typo3/cms-frontend/Classes/ContentObject/Menu/MenuContentObjectFactory.php on line 52
TYPO3 version and TYPO3 Headless version
TYPO3 12 / EXT:headless 4.x
Additional context
Problem is that the items of the section index are all being fetched via
FriendsOfTYPO3\Headless\DataProcessing\DatabaseQueryProcessor
and rendered astt_content
is defined. And that's the cause of the endless loop.Suggestion
Only render those fields of the items that are really necessary:
uid
andheader
that is?The text was updated successfully, but these errors were encountered: