Details
-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
Description
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):
mgm-controller-panel
This is the controller panel for Smart Panels app
Attachments
Issue Links
- is related to
-
CAM-11911 In Spring Boot & Camunda Run, /camunda/ shows error 404 instead of redirection
- Closed