List view starts randomly at wrong Post
Bug Report
Current Behavior The list view starts at a random post and continues from there. The problem occurs completely random, sometimes several times a day, other times after 1 week. A backend user then has to log into Typo3 and clear the cache so that the view returns to newest post.
Expected behavior/output There are 2 list views
- Current: List of the last 12 months, without pagination (max. 40 posts), Sort by date/time
- Archives: List of all posts older than 12 months, with pagination, 20 articles per page, Sort by date/time
Environment
- TYPO3 version(s): 12.4
- news version: 11.4
- news administration version: 1.3
- Composer Mode: yes
- OS: IONOS Apache
- PHP: 8.2
- DB: MySQL 8.0
Additional context There are currently around 825 posts. We have already tried pretty much everything and also tested various combinations of settings, but nothing had a positive effect on the problem, some made it worse.
- Pagination activated: the view starts at a random pagination point (incl. highlight of the point but without URL change).
- Pagination deactivated: List starts at a random date (not always in the specified time period)
- Not archived for the main view: Message ‘No messages available’ instead of random Post
- Cache deactivated: Longer loading time, same error but more often
- Sort by creation
- No time period restrictions
- No maximum
- No Sort by
- Category Filter
- Starting with given news
- Top news: Message ‘No messages available’ instead of random Post
- Deactivate the oldest 150 posts
- Updates/upgrades (the problem already occurred with Typo3 11.5)
We even tried temporary changing the provider from IONOS to Mittwald
We are facing the same issue both news 11.4 and 12.3 with TYPO3 12.4 where we use both News and CategoryList. News list starts from random date in the past and categor list shows random categories selected. The selected categories do not match the displayed articles either. We have not been abel to reproduce it in development system. It only happens on production system on Mittwald. Disabling caching for both categorList and list worked for us.
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'News',
'Pi1',
[
\GeorgRinger\News\Controller\NewsController::class => 'list,detail',
],
[
\GeorgRinger\News\Controller\NewsController::class => 'list',
],
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::PLUGIN_TYPE_CONTENT_ELEMENT
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'News',
'CategoryList',
[
\GeorgRinger\News\Controller\CategoryController::class => 'list',
],
[
\GeorgRinger\News\Controller\CategoryController::class => 'list',
],
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::PLUGIN_TYPE_CONTENT_ELEMENT
);