You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
move_after moves element one position further than expected.
I think it's because after we called mptt_before_deletehere, lft and rgt of left sibling has changed, but variable left_sibling still has old values which lead to incorrect values of delta_lft and delta_rgt in _insert_subtree
move_after moves element one position further than expected.
I think it's because after we called
mptt_before_delete
here, lft and rgt of left sibling has changed, but variableleft_sibling
still has old values which lead to incorrect values ofdelta_lft
anddelta_rgt
in_insert_subtree
Here's test code:
The text was updated successfully, but these errors were encountered: