The register SYS_LASTCHANGED is not updated while rendering the child content elements.
#6 Updated by Jo Hasenau about 5 years ago
- Status changed from Resolved to Under Review
- Priority changed from Should have to Must have
It seems the issue is a bit more tricky and not resolved completely yet.
Got reports today, that indexed search is not working properly with grid children.
SYS_LASTCHANGED update in the frontend does not seem to be enough, which is why we should move that to the backend.
#8 Updated by Michiel Roos almost 5 years ago
What exactly does not work with indexing and grid children? And how can I reproduce this?
The patch seems to work fine for updating a page.
I just discovered a related issue concerning clearCacheCmd: https://forge.typo3.org/issues/63798
The only other place in the core that I can find related to SYS_LASTCHANGED and indexing is in \TYPO3\CMS\IndexedSearch\Indexer::hook_indexContent
#10 Updated by Jo Hasenau almost 5 years ago
Well - for a perfect solution IMHO the stuff should not be applied in the frontend and it has to be done recursively. When a child element gets added or updated, this should trigger a change of the parent element, which again should trigger a change for a possible grandparent and so on, with the final parent being the page.
This way we could completely remove the patch from the frontend and make sure everything is fine even for people who do not use the "official" plugin methods to fetch their gridelements.