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
On extending the EXT:news the following exception appears:
#1546632293 RuntimeException
Could not get value of property "GeorgRinger\News\Domain\Model\NewsDefault::relatedLinks", make sure the property is either public or has a getter getRelatedLinks(), a hasser hasRelatedLinks() or an isser isRelatedLinks().
Environment
TYPO3 version: 12.4.23
news version: 12.0.1
Is your TYPO3 installation set up with Composer (Composer Mode): yes
OS: Debian GNU/Linux 11
Possible Solution
Model properties should be nullable, e.g.:
Can confirm it and can also confirm the possible solution.
Environment
TYPO3 version: 12.4.23
news version: 12.2
PHP version: 8.3
We solved it quickly with this workaround: $GLOBALS['TCA']['tx_news_domain_model_news']['columns']['related_links']['config']['default'] = 0; UPDATE tx_news_domain_model_news SET related_links = 0 WHERE related_links IS NULL;
Bug Report
Current Behavior
On extending the EXT:news the following exception appears:
Environment
Possible Solution
Model properties should be nullable, e.g.:
See also:
https://docs.typo3.org/m/typo3/reference-exceptions/main/en-us/Exceptions/1546632293.html
Thank you
The text was updated successfully, but these errors were encountered: