Sebastian Meyer
Sebastian Meyer
This requires https://github.com/kitodo/kitodo-production/issues/5416
Votes: 0 (but see kitodo/kitodo-production#5578)
OK, this one is tricky! Clearing the persistence manager's cache in `AbstractDocument::saveToDatabase()` was too early, because we still need already persisted documents when handling parent/child relationships between them. I've moved...
Thanks for the quick response! Unfortunately this is really hard for me to debug, because I don't have a working testing environment with enough example documents to run into memory...
This is superseded by #1196, #1197 and #1201.
Before merging this, we need to check [the changelog of Solarium](https://github.com/solariumphp/solarium#pitfalls-when-upgrading-from-3x-or-4x-or-5x).
@dependabot rebase
@dependabot recreate
Closing as obsolete (see #1172).