Redmine

Michaël Erni, geändert vor 13 Jahren.

Redmine

Youngling Beiträge: 18 Beitrittsdatum: 28.06.10 Neueste Beiträge
Hello,
I want to add an entry into: Issue Management... but every time a get an "User/Password error"...
Does somthing special to do ?

URL=> Root url of redmine install
Project => Project name when I want to report...
I've create a user "Klaros" with test password "Klaros" into redmine and add it to the project...

I need to do somthing more ??

Best,
Mike



PS: Redmine Error:
Processing ApplicationController#index (for 172.20.1.48 at 2011-03-07 15:47:19) [GET]

ActionController::RoutingError (No route matches "/mylyn/customfields" with {:method=>:get}):
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering /opt/redmine/redmine-1.1/public/404.html (404 Not Found)
thumbnail
Torsten Stolpmann, geändert vor 8 Jahren.

RE: Redmine

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi Mike,

welcome back emoticon

You did follow the instructions at http://www.klaros-testmanagement.com/files/doc/html/User-Manual.Installation.html#User-Manual.Installation.IssueManagement.redmine?
You tried to add or remove the trailing slash to the URL?

If the above does not help:

Can you please send the console output (of the Klaros application) if it shows error messages?
What is your Klaros version?
What is your Redmine version?

Regards,

Torsten
Michaël Erni, geändert vor 13 Jahren.

RE: Redmine

Youngling Beiträge: 18 Beitrittsdatum: 28.06.10 Neueste Beiträge
... Remove traiing slash....

I'm tired... Sorry

Best,
Mike..
thumbnail
Torsten Stolpmann, geändert vor 13 Jahren.

RE: Redmine (Antwort)

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
No problem - the slash dependency in the connection code is unsatisfactory. I raised improvement request KLAROS-1222 to add this to the documentation.

Closing as resolved.
Michaël Erni, geändert vor 13 Jahren.

RE: Redmine

Youngling Beiträge: 18 Beitrittsdatum: 28.06.10 Neueste Beiträge
In fact no.... The problem is not from the "/"... but from the Version of Mylyn Connector plugin.
Klaros give an error beacause it need the 2.7 and I've the 2.6...

2.6.X is the CURRENT version.. https://redmin-mylyncon.svn.sourceforge.net/svnroot/redmin-mylyncon/redmine_mylyn_connector/tags/
How did you get 2.7 ?

Best,
Mike
thumbnail
Torsten Stolpmann, geändert vor 13 Jahren.

RE: Redmine (Antwort)

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
I followed the instructions on http://sourceforge.net/apps/wordpress/redmin-mylyncon/:

On server side, change into your Redmine directory and run

ruby script/plugin install git://redmin-mylyncon.git.sourceforge.net/gitroot/redmin-mylyncon/redmine-mylyn-connector

Update it with

ruby script/plugin install --force git://redmin-mylyncon.git.sourceforge.net/gitroot/redmin-mylyncon/redmine-mylyn-connector


the redmin-mylyncon project switched to git, the svn repository is outdated.

Regards,

Torsten
Michaël Erni, geändert vor 13 Jahren.

RE: Redmine

Youngling Beiträge: 18 Beitrittsdatum: 28.06.10 Neueste Beiträge
Re,
Now I Get: Unable to save the issue: net.sf.redmine_mylyn.api.exception.RedmineApiAuthenticationException: Request credentials failed - not supported


Informations:

Plugin Version : 2.7.1.stable
Redmine Version: Redmine 1.1.2.stable.5029

Log Klaros (Catalina.out)
2011-03-07 17:30:59: ERROR, de.verit.klaros.web.beans.pages.execute.IssueBean, TP-Processor3
de.verit.klaros.service.issuemanagement.IssueManagementException: net.sf.redmine_mylyn.api.exception.RedmineApiAuthenticationException: Request credentials failed - not supported
at de.verit.klaros.service.issuemanagement.mylyn.redmine.RedmineIssueManagementService.storeIssue(RedmineIssueManagementService.java:231) ~[klaros-mylyn-3.3.0.jar:3.3.0]
at de.verit.klaros.service.issuemanagement.mylyn.MylynIssueManagementService.createIssue(MylynIssueManagementService.java:234) ~[klaros-mylyn-3.3.0.jar:3.3.0]
at de.verit.klaros.web.service.issuemanagement.IssueManagementPersistentService.saveIssue(IssueManagementPersistentService.java:298) ~[IssueManagementPersistentService.class:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_22]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_22]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_22]
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at de.verit.klaros.web.service.issuemanagement.IssueManagementPersistentService_$$_javassist_seam_96.saveIssue(IssueManagementPersistentService_$$_javassist_seam_96.java) ~[IssueManagementPersistentService.class:na]
at de.verit.klaros.web.beans.pages.execute.IssueBean.saveIssue(IssueBean.java:460) ~[IssueBean.class:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_22]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_22]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_22]
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103) [jboss-seam-2.2.1.Final.jar:2.2.1.Final]
at de.verit.klaros.web.beans.pages.execute.IssueBean_$$_javassist_seam_95.saveIssue(IssueBean_$$_javassist_seam_95.java) [IssueBean.class:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_22]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_22]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_22]
at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335) [jboss-el-1.0_02.CR5.jar:1.0_02.CR5]
at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348) [jboss-el-1.0_02.CR5.jar:1.0_02.CR5]
at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58) [jboss-el-1.0_02.CR5.jar:1.0_02.CR5]
at org.jboss.el.parser.AstValue.invoke(AstValue.java:96) [jboss-el-1.0_02.CR5.jar:1.0_02.CR5]
at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) [jboss-el-1.0_02.CR5.jar:1.0_02.CR5]
at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) [icefaces-facelets-1.8.2.jar:na]
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) [jsf-api-1.2_14.jar:1.2_14-b01-FCS]
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) [jsf-impl-1.2_14.jar:1.2_14-b01-FCS]
at javax.faces.component.UICommand.broadcast(UICommand.java:387) [jsf-api-1.2_14.jar:1.2_14-b01-FCS]
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) [jsf-api-1.2_14.jar:1.2_14-b01-FCS]
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) [jsf-api-1.2_14.jar:1.2_14-b01-FCS]
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) [jsf-impl-1.2_14.jar:1.2_14-b01-FCS]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) [jsf-impl-1.2_14.jar:1.2_14-b01-FCS]
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-1.2_14.jar:1.2_14-b01-FCS]
at de.verit.klaros.web.beans.application.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:52) [LifecycleImpl.class:na]
at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18) [icefaces-1.8.2-1.jar:na]
at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:132) [icefaces-1.8.2-1.jar:na]
at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:74) [icefaces-1.8.2-1.jar:na]
at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:31) [icefaces-1.8.2-1.jar:na]
at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24) [icefaces-1.8.2-1.jar:na]
at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16) [icefaces-1.8.2-1.jar:na]
at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23) [icefaces-1.8.2-1.jar:na]
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53) [icefaces-1.8.2-1.jar:na]
at com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:26) [icefaces-1.8.2-1.jar:na]
at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23) [icefaces-1.8.2-1.jar:na]
at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:131) [icefaces-1.8.2-1.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [servlet-api.jar:na]
at de.verit.klaros.web.servlet.ExceptionHandlingPersistentFacesServlet.service(ExceptionHandlingPersistentFacesServlet.java:49) [ExceptionHandlingPersistentFacesServlet.class:na]
at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56) [icefaces-1.8.2-1.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina.jar:6.0.29]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.29]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina.jar:6.0.29]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina.jar:6.0.29]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina.jar:6.0.29]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:6.0.29]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina.jar:6.0.29]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [catalina.jar:6.0.29]
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) [tomcat-coyote.jar:6.0.29]
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) [tomcat-coyote.jar:6.0.29]
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:774) [tomcat-coyote.jar:6.0.29]
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) [tomcat-coyote.jar:6.0.29]
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:896) [tomcat-coyote.jar:6.0.29]
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) [tomcat-coyote.jar:6.0.29]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_22]
Caused by: net.sf.redmine_mylyn.api.exception.RedmineApiAuthenticationException: Request credentials failed - not supported
at net.sf.redmine_mylyn.internal.core.client.ApiWebHelper.refreshRepostitoryCredentials(ApiWebHelper.java:103) ~[mylyn-core-0.1.0.201102202050.jar:na]
at net.sf.redmine_mylyn.internal.api.client.AbstractClient.refreshCredentials(AbstractClient.java:209) ~[mylyn-api-0.1.0.201102202050.jar:na]
at net.sf.redmine_mylyn.internal.api.client.AbstractClient.performExecuteMethod(AbstractClient.java:176) ~[mylyn-api-0.1.0.201102202050.jar:na]
at net.sf.redmine_mylyn.internal.api.client.AbstractClient.executeMethod(AbstractClient.java:82) ~[mylyn-api-0.1.0.201102202050.jar:na]
at net.sf.redmine_mylyn.internal.api.client.Api_2_7_ClientImpl.createIssue(Api_2_7_ClientImpl.java:270) ~[mylyn-api-0.1.0.201102202050.jar:na]
at net.sf.redmine_mylyn.internal.core.client.Client.createIssue(Client.java:118) ~[mylyn-core-0.1.0.201102202050.jar:na]
at net.sf.redmine_mylyn.core.KlarosRedmineTaskDataHandler.postTaskData(KlarosRedmineTaskDataHandler.java:154) ~[klaros-mylyn-3.3.0.jar:3.3.0]
at de.verit.klaros.service.issuemanagement.mylyn.redmine.RedmineIssueManagementService.storeIssue(RedmineIssueManagementService.java:226) ~[klaros-mylyn-3.3.0.jar:3.3.0]
... 89 common frames omitted
Caused by: org.eclipse.mylyn.commons.net.UnsupportedRequestException: null
at org.eclipse.mylyn.commons.net.AbstractWebLocation.requestCredentials(AbstractWebLocation.java:64) ~[commons-net-3.4.1.v20100625-2100-e3x.jar:na]
at net.sf.redmine_mylyn.internal.core.client.ApiWebHelper.refreshRepostitoryCredentials(ApiWebHelper.java:101) ~[mylyn-core-0.1.0.201102202050.jar:na]
... 96 common frames omitted





Log REDMINE:
Processing MylynConnector::InformationController#token to xml (for 172.20.1.48 at 2011-03-07 17:29:41) [GET]
Parameters: {"format"=>"xml", "action"=>"token", "controller"=>"MylynConnector::Information"}
Completed in 3ms (View: 0, DB: 0) | 200 OK [http://redmine/mylyn/token]


Processing IssuesController#create to xml (for 172.20.1.48 at 2011-03-07 17:29:41) [POST]
Parameters: {"format"=>"xml", "action"=>"create", "issue"=>{"start_date"=>"", "estimated_hours"=>"0.0", "parent_issue_id"=>"", "priority_id"=>"3", "project_id"=>"1", "fixed_version_id"=>"", "assigned_to_id"=>"", "done_ratio"=>"0", "subject"=>"luiol", "category_id"=>"", "tracker_id"=>"7", "due_date"=>"", "status_id"=>"1", "description"=>"éoéio"}, "controller"=>"issues"}
Filter chain halted as [:authorize] rendered_or_redirected.
Completed in 9ms (View: 0, DB: 1) | 401 Unauthorized [http://redmine/issues.xml]
thumbnail
Torsten Stolpmann, geändert vor 13 Jahren.

RE: Redmine

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
Is the REST API enabled as shown below? The 401 Unauthorized [http://redmine/issues.xml] messages disturbs me.
Michaël Erni, geändert vor 13 Jahren.

RE: Redmine

Youngling Beiträge: 18 Beitrittsdatum: 28.06.10 Neueste Beiträge
Re,
Yep... Our configuration are like your print screen...
thumbnail
Torsten Stolpmann, geändert vor 13 Jahren.

RE: Redmine

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
I cannot reproduce this behavior on one of our test systems (using Redmine 1.0.4 / Mylyn Connector plugin 2.7.0.stable.RC4).
I can reproduce this behavior on another test system (using Redmine 1.1.0-devel / Mylyn Connector plugin 2.7.0.stable.RC5).

*sigh*
Michaël Erni, geändert vor 13 Jahren.

RE: Redmine

Youngling Beiträge: 18 Beitrittsdatum: 28.06.10 Neueste Beiträge
Re,
Pffiouu... No Luck for me emoticon

By the way:I've configured 3 differents "IIssue Management System" I've select REDMINE Software as default.
When I want to create an Issue I have only the default one on the list (png attached).

Best,
Mike
thumbnail
Torsten Stolpmann, geändert vor 13 Jahren.

RE: Redmine

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
I think you missed to add those 2 other to your current project, IM's are assigned on a per project basis.

Hope this helps,

Torsten
thumbnail
Torsten Stolpmann, geändert vor 13 Jahren.

RE: Redmine

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
Michaël Erni:
Re,
Now I Get: Unable to save the issue: net.sf.redmine_mylyn.api.exception.RedmineApiAuthenticationException: Request credentials failed - not supported


this has been tracked as KLAROS-1225 (Redmine authentication fails if the user credentials do not match the Klaros credentials). I will contact you via PM for verification.

Regards,

Torsten
Michaël Erni, geändert vor 13 Jahren.

RE: Redmine

Youngling Beiträge: 18 Beitrittsdatum: 28.06.10 Neueste Beiträge
Re,
Just get your MP now... (It was on my Junk... )
Seems work for me! Due to your update.. or perhaps due to "The Force" emoticon

Thanks a lot ;-)
Best,
Mike
thumbnail
Torsten Stolpmann, geändert vor 13 Jahren.

RE: Redmine

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
This fix is now part of the just released version 3.3.2.
Stephane Moser, geändert vor 13 Jahren.

RE: Redmine

Youngling Beiträge: 6 Beitrittsdatum: 25.05.11 Neueste Beiträge
Hello,

I've got the same error as the first message in the thread :

On redmine console :
ActionController::RoutingError (No route matches "/projects/mytestproject/mylyn/
customfields" with {:method=>:get}):
C:/Ruby186/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/Ruby186/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/Ruby186/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
C:/Ruby186/lib/ruby/1.8/webrick/server.rb:162:in `start'
C:/Ruby186/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
C:/Ruby186/lib/ruby/1.8/webrick/server.rb:95:in `start'
C:/Ruby186/lib/ruby/1.8/webrick/server.rb:92:in `each'
C:/Ruby186/lib/ruby/1.8/webrick/server.rb:92:in `start'
C:/Ruby186/lib/ruby/1.8/webrick/server.rb:23:in `start'
C:/Ruby186/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering rescues/layout (not_found)

On claros GUI :
"Authentication failed (wrong user name or password)."
Status message : "Authentication failed (wrong user name or password)."

My version of Klaros : 3.4.1 - Build 1026
My version of Redmine : 1.1.2
My version of Redmine plugin : Mylyn Connector plugin 2.7.2.stable

Checkboxes set on redmine Settings->Authentication :
'Authentication required' : OK
'Enable REST web service' : OK

Username and password replicated from Redmine to Klaros : OK

Could you help me solve this issue ?

Thanks in advance.
Best regards,
Stéphane
thumbnail
Torsten Stolpmann, geändert vor 13 Jahren.

RE: Redmine (Antwort)

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi Stephane,

I suspect that the Mylyn Connector plugin API has changed from version 2.7.0 to 2.7.2. Please note the slight difference in the URL in the error message:

ActionController::RoutingError (No route matches "/projects/mytestproject/mylyn/
customfields" with {:method=>:get}):

ActionController::RoutingError (No route matches "/mylyn/customfields" with {:method=>:get}):

Could you please try to downgrade the Mylyn Connector and retry with version 2.7.0-STABLE 5 (which is known to work with our current release)?

Regards,

Torsten
Stephane Moser, geändert vor 13 Jahren.

RE: Redmine

Youngling Beiträge: 6 Beitrittsdatum: 25.05.11 Neueste Beiträge
Hello,

I've downgraded the plugin to version : 2.7.0.stable
I dunno how to get '5' subversion...

ActionController::RoutingError (No route matches "/projects/mytestproject/mylyn/
customfields" with {:method=>:get}):
C:/Ruby186/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/Ruby186/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/Ruby186/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
C:/Ruby186/lib/ruby/1.8/webrick/server.rb:162:in `start'
C:/Ruby186/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
C:/Ruby186/lib/ruby/1.8/webrick/server.rb:95:in `start'
C:/Ruby186/lib/ruby/1.8/webrick/server.rb:92:in `each'
C:/Ruby186/lib/ruby/1.8/webrick/server.rb:92:in `start'
C:/Ruby186/lib/ruby/1.8/webrick/server.rb:23:in `start'
C:/Ruby186/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering rescues/layout (not_found)

I've got the same error as before. I don't really know why I don't have the same directory tree structure for the call...

If I use my browser to make a GET request on :
- http://localhost:3000/mylyn/customfields , I've got the answer :
<?xml version="1.0" encoding="UTF-8"?>
<customFields xmlns="http://redmin-mylyncon.sf.net/api" api="2.7.0.stable" authenticated="true" authenticatedAs="admin">
</customFields>

- http://localhost:3000/projects/mytestproject/mylyn/customfields
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Action Controller: Exception caught</title>
<style>
body { background-color: #fff; color: #333; }

body, p, ol, ul, td {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 13px;
line-height: 18px;
}

pre {
background-color: #eee;
padding: 10px;
font-size: 11px;
}

a { color: #000; }
a:visited { color: #666; }
a:hover { color: #fff; background-coloremoticon000; }
</style>
</head>
<body>

<h1>Routing Error</h1>
<p><pre>No route matches &quot;/projects/mytestproject/mylyn/customfields&quot; with {:method=&gt;:get}</pre></p>



</body>
</html>

With the exception as described above in the console.
thumbnail
Torsten Stolpmann, geändert vor 13 Jahren.

RE: Redmine (Antwort)

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
From what I derive from the error message the client is looking for project specific custom fields for the 'mytestproject' project, but does not find anything here.

Did you define any custom fields for that project?

What does http://localhost:3000/custom_fields show?

Does the Klaros log (logs/catalina.out under Linux or console output under Windows) provide any more information?

Thanks,

Torsten
Stephane Moser, geändert vor 13 Jahren.

RE: Redmine

Youngling Beiträge: 6 Beitrittsdatum: 25.05.11 Neueste Beiträge
http://localhost:3000/custom_fields
--> Show a page with all the custom fields that I have defined. I did not define any custom fields.

Now, I've defined one custom fields for all projects.

http://localhost:3000/mylyn/customfields
--> Show an xml result, with the defined custom field. (see my previous post)

http://localhost:3000/projects/mytestproject/mylyn/customfields
--> Result : a web page with these infos :
Routing Error
No route matches "/projects/mytestproject/mylyn/customfields" with {:method=>:get}
and
the log in the console (redmine) (see my previous post)

---

I did not do any special action with the plugin, nor with the project.

---

There is nothing in the console log of Tomcat (for Klaros)
The only warnings I have in the catalina log file are lines like this one :
25 mai 2011 08:46:38 com.sun.faces.lifecycle.RenderResponsePhase execute
INFO: WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
sourceId=null[severity=(WARN 1), summary=(Please log in first), detail=(Please log in first)]

but it seems not to be related to my error in the gui of klaros.
thumbnail
Torsten Stolpmann, geändert vor 13 Jahren.

RE: Redmine (Antwort)

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
Stephane,

I think you are using a wrong Redmine URL, which should point to the redmine installation itself (http://localhost:3000/ in your case) while you should specify the redmine project Identifier (mytestproject in your case) in the project column.

Please note that the trailing slash can make a difference here - this depends on the existance of an Apache URL rewriting being present or not.

Hope this helps,

Torsten
Stephane Moser, geändert vor 13 Jahren.

RE: Redmine

Youngling Beiträge: 6 Beitrittsdatum: 25.05.11 Neueste Beiträge
Ok, I've finally found the good configuration inside Klaros... it's not clear and there is no documentation about it :

Issue Management :
- System : Redmine
- Project : mytestproject (without capital letters....!!! the real name is myTestProject)
- URL : http://localhost:3000/

RL refers to redmine, not to the project inside it.... but klatos tells it's a valid url even if I put the url of the project....
thumbnail
Torsten Stolpmann, geändert vor 1 Jahr.

RE: Redmine

Jedi Council Member Beiträge: 756 Beitrittsdatum: 12.02.09 Neueste Beiträge
Quick reminder: As of Klaros version 4.12 the native Redmine API is used and the installation of a Redmine plugin is no longer required.