You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/05/14 13:22:00 UTC

[jira] [Comment Edited] (CAMEL-15058) Rest DSL generated controller error when dispatching request

    [ https://issues.apache.org/jira/browse/CAMEL-15058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17107284#comment-17107284 ] 

Claus Ibsen edited comment on CAMEL-15058 at 5/14/20, 1:21 PM:
---------------------------------------------------------------

There are unit test failures now according to CI. Can you take a look
https://builds.apache.org/job/Camel/job/master/lastCompletedBuild/testReport/


was (Author: davsclaus):
There are unit test failures now according to CI. Can you take a look

> Rest DSL generated controller error when dispatching request
> ------------------------------------------------------------
>
>                 Key: CAMEL-15058
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15058
>             Project: Camel
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 3.3.0
>            Reporter: Denis Istomin
>            Assignee: Denis Istomin
>            Priority: Major
>
> # Create spring boot project via maven archetype
>  # Generate RestController using camel-restdsl-openapi:generate
>  # Send request
> Generated conroller has code:
> {{String path = request.getRequestURI(){color:#cc7832};{color}}}
> {{request.getServletContext().getRequestDispatcher({color:#6a8759}"/camel/" {color}+ path).forward(request{color:#cc7832}, {color}response){color:#cc7832};{color}}}
>  
> when path starts with "/", concatenated string becomes "/camel//path"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)