I am trying to upgrade to the camunda spring boot starter 3.2.0 with Camunda 7.10.0 and Spring 2.1.1.RELEASE, according to Spring Boot Version Compatibility | docs.camunda.org
I have a custom server.servlet.contextPath
setting in application.yml, but that does not seem to work anymore - while the web application still comes up at that contextPath, the Tasklist doesn’t find its forms with the new version.
Reason: The contextPath is / because this code in SpringBootProcessApplication no longer gets invoked:
@ConditionalOnWebApplication
@Configuration
class WebApplicationConfiguration implements ServletContextAware {
@Override
public void setServletContext(ServletContext servletContext) {
if (!StringUtils.isEmpty(servletContext.getContextPath())) {
contextPath = servletContext.getContextPath();
}
}
}
Do I miss something obvious? Have I found a bug?