[Feature] 8233 fix error messages from different objects

[``Fix error message layout when multiple faulty objects are involved``](https://www.openproject.org/work_packages/8233) (see [the comments](https://www.openproject.org/work_packages/8233#note-28))