#93133Not processing images when indexing in Solr
Description
TYPO3 in version 10.4.11 introduced regression by this patch https://github.com/TYPO3/TYPO3.CMS/commit/0c5439f2ce
In latest version, when indexing links to images via Solr is broken, because of deferred generation of images. Solr receives link to generate image instead of link to generated image.
Stack:
TYPO3 10.4.11
georgringer/news – 8.5
apache-solr-for-typo3/solr – 11.0.3
code to reproduce in :
In standard Solr configuration for news with code added in plugin.tx_solr.index.queue.news
image_stringM = SOLR_CONTENT
image_stringM {
cObject = COA
cObject {
10 = FILES
10 {
references {
table = tx_news_domain_model_news
uid.data = {field:uid}
uid.insertData = 1
uid.intval = 1
fieldName = fal_media
}
maxItems = 1
renderObj = TEXT
renderObj {
typolink {
parameter.stdWrap {
cObject = IMG_RESOURCE
cObject {
file.import.data = file:current:uid
file.treatIdAsReference = 1
}
}
returnLast = url
forceAbsoluteUrl = 1
}
}
}
}
}
Above code should return link to processed link in Solr index,
but in 10.4.11 BEFORE frontend rendering of news with image attached return links to TYPO3 backend with token to generate image.
But when news is rendered on frontend, and then indexed, above code work as previous version.
Reviews 1
Related issues 6
- Bug #92188Deferred image processing in the backend is only partly implemented
- Bug #93139Revert image processing
- Bug #93245Images not processed in Scheduler task since version 10.4.11
- Bug #93766BE user emailMeAtLogin throws TypeError
- Bug #98174Not processing images when indexing in Solr
- Bug #98684Not processing images when indexing in Solr in TYPO3 11