-
Bug Report
-
Resolution: Unresolved
-
L3 - Default
-
None
-
None
-
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
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. |
Mentioned Roles |
Mentioned Groups |
Labels | New: nice_to_have potential_for_next_quarter |
Effort | Original: Not defined [ 11259 ] | New: M [ 11255 ] |
Labels | Original: nice_to_have potential_for_next_quarter | New: nice_to_have |
PM Priority | New: 3 |