neos / neos-development-collection

The unified repository containing the Neos core packages, used for Neos development.
https://www.neos.io/
GNU General Public License v3.0
266 stars 223 forks source link

Ensure exceptions during CatchUpHook are properly handled #4908

Open mhsdesign opened 9 months ago

mhsdesign commented 9 months ago

Currently any faulty catchup implementation can prevent a replay. As they are rather optional, maybe the should not crash the whole system?

flow cr:replayAll       
Replaying events for all projections of Content Repository "default" ...
The node type "Foo:Document.Starship" is not available

  Type: Neos\ContentRepository\Core\SharedModel\Exception\NodeTypeNotFoundException
  Code: 1316598370
  File: Packages/Neos/Neos.ContentRepository.Core/Classes/NodeType/NodeTypeManager.
        php
  Line: 126
bwaidelich commented 7 months ago

This can hopefully be simplified a lot with #4992