[TASK] FrontendContentAdapterService processes record repeatedly
The FrontendContentAdapterService rewrites records so legacy TypoScript is able to work on the files to. To do so it queries the objects regarding the relations and fills the properties of the record new line separated as known from pre-6.x records. This change adds a runtime cache, so already processed records of are not processed again, if the next cObject for the same record is started. Resolves: #54953 Releases: 6.2, 6.1 Change-Id: I1f632f175075c9d85079ea83e343e35867a1fcca Reviewed-on: https://review.typo3.org/26786 Reviewed-by: Oliver Hader Tested-by: Oliver Hader Reviewed-by: Benjamin Mack Tested-by: Benjamin Mack
Showing
- typo3/sysext/core/Classes/Resource/Service/FrontendContentAdapterService.php 68 additions, 45 deletions...lasses/Resource/Service/FrontendContentAdapterService.php
- typo3/sysext/core/Tests/Unit/Resource/Service/FrontendContentAdapterServiceTest.php 73 additions, 5 deletions...it/Resource/Service/FrontendContentAdapterServiceTest.php
Please register or sign in to comment