Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-14633

Spring Boot: Requests to / always redirected to Tasklist



    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.18.0, 7.17.2, 7.18.0-alpha2
    • None
    • None


      Environment (Required on creation):

      • Spring Boot starter 7.17.0+

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

      With the camunda.bpm.webapp.application-path property users can define the application path of the webapps. The default is /camunda/.
      The camunda.bpm.webapp.index-redirect-enabled property lets users control if a request to / should be redirected to the Camunda webapps or not. When set to false the default Spring Boot behavior should apply. By default Spring Boot will serve a static index.html for those requests.

      The issue occurs when camunda.bpm.webapp.application-path is set to / and camunda.bpm.webapp.index-redirect-enabled is set to false. The redirect to Tasklist is still performed, however the default Spring Boot behavior should take over instead.

      Steps to reproduce (Required on creation):

      1. Configure a 7.17.0 (or later) Camunda Spring Boot Starter:

      • camunda.bpm.webapp.application-path=/
      • camunda.bpm.webapp.index-redirect-enabled=false

      2. Provide an index.html file under src/main/resources/static

      2. Start the application and request send a GET request to localhost:8080/ (e.g. via browser)

      Observed Behavior (Required on creation):

      The request is redirected to Tasklist.

      Expected behavior (Required on creation):

      The request is not redirected to Tasklist. Instead, the static index.html is served.

      Root Cause (Required on prioritization):

      CAM-11911 introduced this filter which makes the redirect to Tasklist if the request URI matches the application path. In this case, the request URI is / which then should not be redirected.

      Solution Ideas (Optional):

      Only make the redirect if the requested URI is not /.

      Hints (optional):


        This is the controller panel for Smart Panels app


          Issue Links



                miklas.boskamp Miklas Boskamp
                miklas.boskamp Miklas Boskamp
                Miklas Boskamp Miklas Boskamp
                Nikola Koevski Nikola Koevski
                0 Vote for this issue
                3 Start watching this issue