Doctrine Extensions Sortable not working correctly when changing position by more than 1

We discovered this bug a long time ago too. In our case there was a problem when you set multiple positions at the same time / flush. We ended up using the complete sort order of javascript without the gedmo extension because single flushes were too expensive.

Also have a look at the following bug issues which could be relevant:

  • https://github.com/Atlantic18/DoctrineExtensions/issues/1642 ("The update Problem")
  • https://github.com/Atlantic18/DoctrineExtensions/issues/1618
  • https://github.com/Atlantic18/DoctrineExtensions/issues/1130