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

"Server Error" when trying to create Task Repository #23

Open cguentherTUChemnitz opened 11 years ago

cguentherTUChemnitz commented 11 years ago

Hi guys,

software versions: ubuntu server 12.04 LTS running redmine 2.3.0 with the plugin redmine_mylyn_connector 2.8.2.stable

Eclipse Kepler Service Release 1 with the redmine mylyn connector plugin from http://redmin-mylyncon.sourceforge.net/update-site/N/

When i try to create a task repository in eclipse, i see an error message showing only the "server error: " message and nothing after it.

The redmine production log shows the following statement: https://gist.github.com/cguentherTUChemnitz/6777348

maybe interesting: My apache configuration only permits https access. The production log shows a problem with the ActionView version method.

ogonzalez020 commented 11 years ago

I've been able to solve this issue. Replace the content of this file: [Redmine-directory]/plugins/redmine_mylyn_connector/app/views/mylyn_connector/information/version.xml.builder by this one:

xml.instruct! :xml, :encoding => "UTF-8" xml.version root_attribs do xml.plugin("2.8.2.stable", :major => @data[0], :minor => @data[1], :tiny => @data[2]) xml.redmine Redmine::VERSION xml.rails "3.2.13"

xml.rails RAILS_GEM_VERSION

end

restart Redmine.

mseiler commented 11 years ago

Thanks @ogonzalez020! This works for me too. However it'll break again whenever the Rails version changes ;-)