Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-13637

Setting StandaloneMockMvcBuilder.useSuffixPatternMatch = false does not work

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.2.2
    • Fix Version/s: 4.2.3
    • Component/s: Test, Web
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      Setting StandaloneMockMvcBuilder.useSuffixPatternMatch to false does not work with the 4.2.2 release. It worked in 4.1.7, but after an upgrade yesterday it stopped working.

        Activity

        Hide
        snicoll Stéphane Nicoll added a comment -

        4.2.3 is not even released. Did you mean it works with 4.2.2 but not master?

        Show
        snicoll Stéphane Nicoll added a comment - 4.2.3 is not even released. Did you mean it works with 4.2.2 but not master?
        Hide
        marcusnylander Marcus Nylander added a comment -

        Sorry my mistake: 4.2.2.RELEASE is the one I've upgraded to.

        Show
        marcusnylander Marcus Nylander added a comment - Sorry my mistake: 4.2.2.RELEASE is the one I've upgraded to.
        Hide
        snicoll Stéphane Nicoll added a comment -

        ok and what was the one that worked then?

        Show
        snicoll Stéphane Nicoll added a comment - ok and what was the one that worked then?
        Hide
        marcusnylander Marcus Nylander added a comment -

        4.1.7.RELEASE

        Show
        marcusnylander Marcus Nylander added a comment - 4.1.7.RELEASE
        Hide
        tomrauk tom rauk added a comment -

        This is also true for removeSemicolonContent.

        Changes were made to RequestMappingHandlerMapping with the 4.2.X Spring Mvc release to set values on 'config' with afterPropertiesSet() method. This is not called in the StandaloneMockBuilder code, so the configuration is not being used when constructing the RequestMappingInfo.

        Show
        tomrauk tom rauk added a comment - This is also true for removeSemicolonContent. Changes were made to RequestMappingHandlerMapping with the 4.2.X Spring Mvc release to set values on 'config' with afterPropertiesSet() method. This is not called in the StandaloneMockBuilder code, so the configuration is not being used when constructing the RequestMappingInfo.

          People

          • Assignee:
            rstoya05-aop Rossen Stoyanchev
            Reporter:
            marcusnylander Marcus Nylander
            Last updater:
            Stéphane Nicoll
          • Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 16 weeks, 3 days ago