(WIP) Use full error messages for relations validation.

https://www.openproject.org/work_packages/13948