Closed stephan-tittel closed 5 years ago
Ack. It needs to be debugged here. PR welcome.
It's a bug in the cache handling. The following quick fixes it for me. The correct fix would be to seperate caches of the RSS feeds and their rendered views.
diff --git a/Classes/Controller/FeedController.php b/Classes/Controller/FeedController.php
index 30292cd..777cf95 100644
--- a/Classes/Controller/FeedController.php
+++ b/Classes/Controller/FeedController.php
@@ -134,7 +134,7 @@ class FeedController extends ActionController
protected function getCacheIdentifier()
{
- return md5($this->settings['feedUrl']);
+ return md5($this->settings['feedUrl'] . $this->settings['template'] . $this->settings['numberOfItems']);
}
4.2.2 on his way to the TER
Perfect, thanks!
Adding 2 rss_display instances with different feed rendering templates (from typo3conf/ext/rss_display/Resources/Private/Templates/Feed/) on the same page does not work. Both instances will render with the same template, so one of the instances does not use the configured template.
Typo3: 9.5.4 / rss_display: 4.2.1