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

tasklist can't render embedded forms with ROOT contextPath

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.1.0, 7.1.1
    • Fix Version/s: 7.8.0, 7.7.4, 7.8.0-alpha4
    • Component/s: tasklist
    • Labels:

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: