Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-4858

"Open in Optimize" button does not work for /external Optimize installation path

    • Icon: Bug Report Bug Report
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • frontend
    • 3
    • M

      Reproduce:

      • Install Optimize 3.3.0 in the /external server subdirectory, so the Optimize path would be myServer.com/external/#/
      • Create and share a report (Report share URL is myServer.com/external/#/share/report/id)
      • Update Optimize to version 3.4.0
      • Access the already shared report
      • Click on the "Open in Optimize" button

      Expected:

      • The Report is opened in Optimize myServer.com/external/#/report/id

      Observed:

      • myServer.com/#/report/id is opened, which is not where Optimize is installed

      We currently handle /external as special string that we strip from the URL. In the described case, this is not a the special sharing URL, but just the Optimize installation path, so we should not strip it.

       

      Hint:
      Currently Optimize doesn't support configuring the paths of the embedded webserver Optimize runs on. So the only way Optimize can be served under such subdirectory is putting a proxy in front that rewrites the request.

        This is the controller panel for Smart Panels app

            [OPT-4858] "Open in Optimize" button does not work for /external Optimize installation path

            Sebastian Stamm created issue -
            Sebastian Stamm made changes -
            Link New: This issue is related to OPT-4807 [ OPT-4807 ]
            Sebastian Stamm made changes -
            Link New: This issue is related to OPT-4804 [ OPT-4804 ]
            Sebastian Bathke made changes -
            Description Original: Reproduce:
             - Install Optimize 3.3.0 in the /external server subdirectory, so the Optimize path would be {{myServer.com/external/#/}}
             - Create and share a report (Report share URL is {{myServer.com/external/#/share/report/id}})
             - Update Optimize to version 3.4.0
             - Access the already shared report
             - Click on the "Open in Optimize" button

            Expected:
             - The Report is opened in Optimize {{myServer.com/external/#/report/id}}

            Observed:
             - {{myServer.com/#/report/id}} is opened, which is not where Optimize is installed

            ----
            We currently handle /external as special string that we strip from the URL. In the described case, this is not a the special sharing URL, but just the Optimize installation path, so we should not strip it.
            New: Reproduce:
             - Install Optimize 3.3.0 in the /external server subdirectory, so the Optimize path would be {{myServer.com/external/#/}}
             - Create and share a report (Report share URL is {{myServer.com/external/#/share/report/id}})
             - Update Optimize to version 3.4.0
             - Access the already shared report
             - Click on the "Open in Optimize" button

            Expected:
             - The Report is opened in Optimize {{myServer.com/external/#/report/id}}

            Observed:
             - {{myServer.com/#/report/id}} is opened, which is not where Optimize is installed

            ----
            We currently handle /external as special string that we strip from the URL. In the described case, this is not a the special sharing URL, but just the Optimize installation path, so we should not strip it.

             

            Hint:
            Currently Optimize doesn't support configuring the paths of the embedded webserver Optimize runs on. So the only way Optimize can be served under such subdirectory is putting a proxy in front that rewrites the request.
            Sebastian Bathke made changes -
            Mentioned Roles
            Sebastian Bathke made changes -
            Mentioned Groups
            Sebastian Bathke made changes -
            Labels New: nice_to_have potential_for_next_quarter
            Sebastian Bathke made changes -
            Effort Original: Not defined [ 11259 ] New: M [ 11255 ]
            Sebastian Bathke made changes -
            Labels Original: nice_to_have potential_for_next_quarter New: nice_to_have
            Eric Lundberg made changes -
            PM Priority New: 3

              Unassigned Unassigned
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: