Skip to content

Sortable rank bug after changing scope on item #429

Closed
judikdavid opened this Issue Jul 24, 2012 · 2 comments

2 participants

@judikdavid

I have an object with sortable behavior and the use_scope attribute is set to true.
When i'm changing the scope_column value to an another on one item, the sortable_rank is broken, because the sortable_ranks aren't recalculated, so the move_up and move_down actions throw Fatal error: Call to a member function getSortableRank() on a non-object.

@jaugustin
Propel member

there is another issue try to fix this #359

I think you should call removeFromList() before changing the scope,

@judikdavid

Thanks for the tip.

@judikdavid judikdavid closed this Jul 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.