backlogs / redmine_backlogs

A Redmine plugin for agile teams
https://backlogs.github.io/www/
GNU General Public License v2.0
772 stars 459 forks source link

Redmine Backlog Plugin configuration issue #972

Open VDPoornima opened 10 years ago

VDPoornima commented 10 years ago

platform: # supported: 2.2.4, 2.3.2 backlogs: # supported: 1.0.5 ruby: # supported: 1.9.3, 2.0.0

Hi,

Im getting "undefined method joins_for_order_statement' for classQuery'" after included the redmine backlog plugins.

I found some issues while working with redmine backlogs plugin.

1) Corrected the spaces in redmine_backlogs/app/models/rb_release.rb

Before, total = RbReleaseBurnchartDayCache.where("release_id = ? AND day IN (?)",release.id,@days) .order(:day).group(:day).sum(:total_points) added = RbReleaseBurnchartDayCache.where("release_id = ? AND day IN (?)",release.id,@days) .order(:day).group(:day).sum(:added_points) closed = RbReleaseBurnchartDayCache.where("release_id = ? AND day IN (?)",release.id,@days) .order(:day).group(:day).sum(:closed_points)

Corrected the spaces and tried to run but still getting "undefined method joins_for_order_statement' for classQuery'". Please anyone help me out.

Thanks, Poornima Dhanasekaran.

bohansen commented 10 years ago

what versions of ruby, redmine and redmine backlogs are you running?

VDPoornima commented 10 years ago

Ruby 1.8, Rails 2.3.14,Redmine 1.3.2 & Latest Backlog plugin from master.

bohansen commented 10 years ago

Sorry, none of the versions mentioned are supported by latest master.

VDPoornima commented 10 years ago

So what is a solution for it?. Please let me know the steps what you've followed.

bohansen commented 10 years ago

You need to look into upgrading your redmine instance to ruby 1.9.3, rails 3.2 and redmine 2.3.2 before you can use Backlogs 1.0.5 or latest master.