Skip to content

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

Description

@csyperski

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions