You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Behavior
When having a Multilang-Website the PrevNext Buttons cause following Error on translated Pages:
Call to protected method TYPO3\CMS\Core\Domain\Repository\PageRepository::getRecordOverlay() from scope GeorgRinger\News\ViewHelpers\SimplePrevNextViewHelper
This happens after Upgrading a Typo3 12 to Typo3 13 and News Version 12.2.0.
Maybe the function used for this changed in Typo3 13?
Environment
TYPO3 version(s): 13.4.2
news version: 12.2.0
Is your TYPO3 installation set up with Composer (Composer Mode): yes
OS: Server: Linux
The text was updated successfully, but these errors were encountered:
I tried to fix this myself ... but I failed.
What I tried:
I changed the Method "getRecordOverlay" to "getLanguageOverlay" as described in the API docs of Typo3 13.
In this Case the function get's a bit shorter to this:
$overlay = $GLOBALS['TSFE']->sys_page->getLanguageOverlay(
'tx_news_domain_model_news',
$rawRecord
);
a var_dump shows, the data is loaded - but then it come's to an Error of the mapper, saying cal to a member function map() on NULL.
Here is where I don't get further.
But maybe this helps.
It would be really great to solve this, as I am using this function in many productive customer websites and this stops all sites from being upgraded.
Bug Report
Current Behavior
When having a Multilang-Website the PrevNext Buttons cause following Error on translated Pages:
Call to protected method TYPO3\CMS\Core\Domain\Repository\PageRepository::getRecordOverlay() from scope GeorgRinger\News\ViewHelpers\SimplePrevNextViewHelper
This happens after Upgrading a Typo3 12 to Typo3 13 and News Version 12.2.0.
Maybe the function used for this changed in Typo3 13?
Environment
The text was updated successfully, but these errors were encountered: