Fix doctrine transaction in lazaret patch
Merge pull request #727 from romainneutron/fix-doctrine-patch

[3.8] Fix doctrine transaction in lazaret patch
Merge branch '3.8'