fabarea / rss_display

TYPO3 CMS extension for fetching a RSS / Atom Feed and display its content on the Frontend
Other
12 stars 25 forks source link

4.2.0 not working with TYPO3 < 9.5 because of ExtensionConfiguration::class #33

Closed mavolkmer closed 5 years ago

mavolkmer commented 5 years ago

Bug Report

Summary

There is a class not found exception after updateing rss_display to 4.2.0 on TYPO3 8.7

Steps to reproduce

Update/Install EXT:rss_display 4.2.0 on a TYPO3 versin 8.7.x

What is the current bug behavior?

You get a Class ExtensionConfiguration not found-exception

What is the expected correct behavior?

reading extension-configuration as before

Possible fixes

In FeedController the class ExtensionCofiguration is used in function getPluginType(). This class and the related ExceptionClasses were introduced with TYPO3 v9 and are not available in earlier versions of TYPO3.

One could implement a version-condition to avoid the exception and use the behaviour of rss_display-4.1.0 for earlier Versions of TYPO3.

I will submit a PR with the suggested change