Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redmine3.1.1 not support time tracking plugin #105

Open
johnp2686 opened this issue Nov 17, 2015 · 7 comments
Open

Redmine3.1.1 not support time tracking plugin #105

johnp2686 opened this issue Nov 17, 2015 · 7 comments

Comments

@johnp2686
Copy link

Hi,

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

@phoebusnetto
Copy link

Did you try to replace with this?

where('1=1')

@johnp2686
Copy link
Author

yes that issue is fixed but i am getting

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

@phoebusnetto
Copy link

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
Copy link
Author

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

@phoebusnetto
Copy link

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
Copy link
Author

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

@phoebusnetto
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants