Not a bug Cannot delete an entity that has been partially updated in


Well-known member
Affected version
LogicException: Cannot delete an entity that has been partially updated in src/XF/Mvc/Entity/Entity.php at line 1594

  1. XF\Mvc\Entity\Entity->delete() in src/XF/Service/Thread/Deleter.php at line 71
  2. XF\Service\Thread\Deleter->delete() in src/XF/InlineMod/Thread/Delete.php at line 35
  3. XF\InlineMod\Thread\Delete->applyToEntity() in src/XF/InlineMod/AbstractAction.php at line 87
  4. XF\InlineMod\AbstractAction->applyInternal() in src/XF/InlineMod/AbstractAction.php at line 80
  5. XF\InlineMod\AbstractAction->apply() in src/XF/Pub/Controller/InlineMod.php at line 129
  6. XF\Pub\Controller\InlineMod->actionPerform() in src/XF/Mvc/Dispatcher.php at line 352
  7. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  8. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  9. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  10. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2483
  11. XF\App->run() in src/XF.php at line 524
  12. XF::runApp() in index.php at line 20
It seems that rebuild forums helps here.

If I add threads by Api, is it needed to recalc the forums?
It never was needed before.
I can't reproduce this. Please try on an unmodified style with all add-ons disabled. If you can reproduce this reliably, please post reproduction steps.
Top Bottom