fernandokosh / redmine_time_tracker

A time tracker plugin for Redmine
Other
203 stars 141 forks source link

Redmine3.1.1 not support time tracking plugin #105

Open johnp2686 opened 8 years ago

johnp2686 commented 8 years ago

Hi,

I using redmine3.1.1 installed successfully time tracking plugin but i am getting undefined method `includes' for {:conditions=>"1 = 1"}:Hash)

phoebusnetto commented 8 years ago

Did you try to replace with this? where('1=1')

johnp2686 commented 8 years ago

yes that issue is fixed but i am getting

NameError (undefined local variable or method `connection' for #TimeLogQuery:0x007f4fb96cb000):

phoebusnetto commented 8 years ago

You have to change current connection in TimeLogQuery model to self.class.connection or create a method to return it: def connection self.class.connection end

johnp2686 commented 8 years ago

Connection issue fixed i am getting NoMethodError (undefined method `joins' for #Hash:0x007fd42bd65c70):

phoebusnetto commented 8 years ago

Well... I guess you must adjust too much code to make it work on Redmine 3.1.

I did, but it is not OK yet. And you must see the fork from HicknHack, he has a version of Time Track compatible with 3.1 (I do not test it yet).

johnp2686 commented 8 years ago

I tried HicknHack not working any other idea to resolve the issue

phoebusnetto commented 8 years ago

https://github.com/hicknhack-software/redmine_time_tracker

He is working on a complete rewrite of plugin, I am waiting its finish to test.

I tried to install the master version for this fork, but got CoffeeScript Comiple Error. BTW I'm using Windows machine with Bitnami Stack for Redmine app.