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
When trying to access the parent of one single category of an post, an error occures. Category has ORM/lazy, the Category->getParent() function tries to return an lazy loading proxy object but the allowed return types are null and Category.
Steps to Reproduce
Try to access the parent of an category assigned to a blog post
Expected behavior: [What you expected to happen]
Throw no error and return parent category values
Actual behavior: [What actually happened]
(1/1) TypeError
Return value of T3G\AgencyPack\Blog\Domain\Model\Category::getParent() must be an instance of T3G\AgencyPack\Blog\Domain\Model\Category or null, instance of TYPO3\CMS\Extbase\Persistence\Generic\LazyLoadingProxy returned
Versions
t3g/blog 12.0.2
The text was updated successfully, but these errors were encountered:
Bug Report
Prerequisites
Description
When trying to access the parent of one single category of an post, an error occures. Category has ORM/lazy, the Category->getParent() function tries to return an lazy loading proxy object but the allowed return types are null and Category.
Steps to Reproduce
Try to access the parent of an category assigned to a blog post
Expected behavior: [What you expected to happen]
Throw no error and return parent category values
Actual behavior: [What actually happened]
(1/1) TypeError
Return value of T3G\AgencyPack\Blog\Domain\Model\Category::getParent() must be an instance of T3G\AgencyPack\Blog\Domain\Model\Category or null, instance of TYPO3\CMS\Extbase\Persistence\Generic\LazyLoadingProxy returned
Versions
t3g/blog 12.0.2
The text was updated successfully, but these errors were encountered: