ext-solr icon indicating copy to clipboard operation
ext-solr copied to clipboard

[BUG] Add StartTimeRestriction to ConfigurationAwareRecordService

Open amirarends opened this issue 5 months ago • 0 comments

Describe the bug By fixing this issue (https://github.com/TYPO3-Solr/ext-solr/issues/4107), the ConfigurationAwareRecordService no longer uses BackendUtility::getRecord(). As a result, the default Restrictions are now applied to the query.

If you have an already published and indexed article and modify the startdate to schedule the article for future publication, the queue item will be deleted and not reinserted due to the StarttimeRestriction, which removes the item from the result list.

In EXT:solr v11, the behavior is different. After modifying the start date, the item will be deleted from tx_news_domain_model_news and reinserted for further indexing.

Used versions (please complete the following information):

TYPO3 Version: 12.4 EXT:solr Version: 12.x Used Apache Solr Version: 9.6

amirarends avatar Sep 25 '24 07:09 amirarends