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

tasklist can't render embedded forms with ROOT contextPath

XMLWordPrintable

      Environment:
      Prepackaged Distribution 7.1.0-Final with Tomcat
      Attached ROOT.war

      Problem:
      There is no contextPath in our process application if we deploy it into the ROOT context.

      The following line in ServletProcessApplication (see comment) fetches an empty string for the contextPath

      public void contextInitialized(ServletContextEvent sce)

      { servletContext = sce.getServletContext(); servletContextPath = servletContext.getContextPath(); // <-- is an empty string servletContextName = sce.getServletContext().getServletContextName(); processApplicationClassloader = initProcessApplicationClassloader(sce); // perform lifecycle start deploy(); }

      Because of this empty string the tasklist can't fully update its URL-scheme for embedded forms. This leads to following error message:

      OPTIONS app:start-form.html net::ERR_UNKNOWN_URL_SCHEME

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              stefan.hentschel Stefan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: