Fixed Unable to delete resource reviews of deleted members

Kruzya

Well-known member
Affected version
2.1.6
As said in title.
Code:
LogicException: Need user and version IDs
src/addons/XFRM/Entity/ResourceRating.php:250

#0 src/XF/Mvc/Entity/Entity.php(1308): XFRM\Entity\ResourceRating->_preSave()
#1 src/XF/Mvc/Entity/Entity.php(1161): XF\Mvc\Entity\Entity->preSave()
#2 src/addons/XFRM/Entity/ResourceRating.php(428): XF\Mvc\Entity\Entity->save()
#3 src/addons/XFRM/Service/ResourceRating/Delete.php(59): XFRM\Entity\ResourceRating->softDelete()
#4 src/addons/XFRM/Pub/Controller/ResourceReview.php(54): XFRM\Service\ResourceRating\Delete->delete()
#5 src/XF/Mvc/Dispatcher.php(350): XFRM\Pub\Controller\ResourceReview->actionDelete()
#6 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#7 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#8 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#9 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#10 src/XF.php(391): XF\App->run()
#11 index.php(20): XF::runApp()
#12 {main}
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XFRM release (2.2.0 Beta 2).

Change log:
Fix an issue preventing deletion of resource ratings from deleted members
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom