@adou600 so this code moved to this PR, copying the comment over:

this is trying to reproduce the bug that you hit when creating the routes from the frontend. however, the test does not fail so either its been fixed since, or i still miss a particularity of what happens in your case. can you check the phpcr-odm calls we do in that process and see if you find what i should do here to reproduce the bug?