danmunn / redmine_mylyn_connector

API Connector for mylyn [redmine-myln-connector] as developed originally by Sven Krzyzak (sourceforge.net/projects/redmin-mylyncon)
danmunn.github.com/redmine_mylyn_connector
59 stars 31 forks source link

Couldn't find Tracker with 'id'=all with redmine 3.x #41

Open Tcharl opened 9 years ago

Tcharl commented 9 years ago

Hi,

I've got an error using redmine 3.x and this connector: Couldn't find Tracker with 'id'=all.

Is anyone experiencing this issue? Regards

lanale commented 9 years ago

Hi Charlie, here the solution: https://github.com/joaopedrotaveira/redmine_mylyn_connector/pull/1 Bye Ale Il 01/mag/2015 19:08, "Charlie Mordant" notifications@github.com ha scritto:

Hi,

I've got an error using redmine 3.x and this connector: Couldn't find Tracker with 'id'=all.

Is anyone experiencing this issue? Regards

— Reply to this email directly or view it on GitHub https://github.com/danmunn/redmine_mylyn_connector/issues/41.

Tcharl commented 9 years ago

Hi,

Thank you! Why isn't it merged in this repo? Regards,

lanale commented 9 years ago

joaopedrotaveira merged commit2278449 into master from master 6 days ago https://github.com/joaopedrotaveira/redmine_mylyn_connector/pull/1#event-290079651 😉 Il 01/mag/2015 23:02, "Charlie Mordant" notifications@github.com ha scritto:

Hi,

Thank you! Why isn't it merged in this repo? Regards,

— Reply to this email directly or view it on GitHub https://github.com/danmunn/redmine_mylyn_connector/issues/41#issuecomment-98237675 .

DzianisFrydliand commented 9 years ago

We have updated with https://github.com/joaopedrotaveira/redmine_mylyn_connector/pull/1 It works, but there're a lot of deprecation warnings in a logfile:

Started GET "/redmine_backup/mylyn/projects" for xxx.xx.x.xx at 2015-08-05 11:56:53 +0300
Processing by MylynConnector::ProjectsController#all as XML
  Current user: xxx (id=7)
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from get_trackers at /srv/www/htdocs/redmine_backup/plugins/redmine_mylyn_connector/app/helpers/mylyn_connector/projects_helper.rb:6)

Installation details:

Environment:
  Redmine version                3.1.0.stable
  Ruby version                   2.0.0-p0 (2013-02-24) [x86_64-linux]
  Rails version                  4.2.3
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.6.11
  Cvs                            1.12.12
  Git                            1.7.7.3
  Filesystem                     
Redmine plugins:
  redmine_mylyn_connector        2.8.2.stable