relaxdiego/redmine_backlogs — Issue #447: Problem dragging a story to the bottom of a sprint.
Author: KevinJW
Created: 2012-03-08 12:05:32+00:00
State: open

When dragging a story item on a running sprint from the middle to the bottom we get the following error:

PG::Error: ERROR: syntax error at or near "inner" LINE 2: inner join (select coale... ^ : update issues inner join (select coalesce(max(position), 0) as max_position from issues) as other_issues set issues.position = other_issues.max_position where id = 29

Which appears to be from around line 138 of redmine_backlogs/app/models/rb_story.rb