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

Migration from 2.x to 3.4.2 - Parameters added 4 times? #281

Open
csyperski opened this issue Mar 11, 2019 · 0 comments
Open

Migration from 2.x to 3.4.2 - Parameters added 4 times? #281

csyperski opened this issue Mar 11, 2019 · 0 comments

Comments

@csyperski
Copy link

Hello, I'm migrating from using version 2.0.12 to 3.4.2 and I'm experiencing problems where my parameters are being set 4 times and I can't figure out why. Below is my mapping as it existed fin 2.0.12, but in 3.4.2, I'm seeing c being populated 4 times so when I get my param it is returning an array.

.addRule(Join.path("/c/{c}/{r}/{more}").to("/customer?c={c}&r={r}&other={more}"))
.addRule(Join.path("/c/{c}/{r}").to("/customer?c={c}&r={r}"))
.addRule(Join.path("/c/{c}").to("/customer?c={c}"))
.addRule(Join.path("/c/").to("/customer"))
.addRule(Join.path("/c").to("/customer"));

In my servlet, I'll see http://xxxx.com/c/1 returning c = [ 1, 1, 1, 1 ]

Am I doing something wrong or is this a bug?

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

1 participant