It is because of Gedmo, somehow while update it sets the position to a max position which prevents from updating the position up. Down is ok... So I gave up on Gedmo, or does anyody here have any experience with Sortable from Gedmo?
Op donderdag 23 oktober 2014 22:37:45 UTC+2 schreef Marco Pivetta: > > Hi Antenne, > > Try reproducing this as a failing test case with minimal context (Just > Doctrine2) and you will see if the cause is Gedmo. > > Marco Pivetta > > http://twitter.com/Ocramius > > http://ocramius.github.com/ > > On 23 October 2014 22:36, Antenne <[email protected] <javascript:>> > wrote: > >> Somehow it sees a max position and uses this to set the position. >> Right now I'm thinking i am better off without the Gedmo\Sortable... >> Anybody experience with this? >> >> Op donderdag 23 oktober 2014 21:54:51 UTC+2 schreef Antenne: >>> >>> I use a Gedmo\Sortable\SortableListener, could this cause issues? >>> >>> >>> Op donderdag 23 oktober 2014 11:05:22 UTC+2 schreef Jàπ (Jasper N. >>> Brouwer): >>>> >>>> Can you also check if you have any event listeners/subscribers in >>>> place. Those are common places that cause unexpected things to happen. >>>> >>>> -- >>>> Jasper N. Brouwer >>>> (@jaspernbrouwer) >>>> >>>> >>>> On 23 October 2014 at 08:31:42, Antenne ([email protected]) wrote: >>>> > So I called it both with and without the persist and still only the >>>> first >>>> > object is updated. Could there be a reason why second time round it >>>> is not >>>> > stored in the database? >>>> >>>> >>>> -- >> You received this message because you are subscribed to the Google Groups >> "doctrine-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/doctrine-user. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
