-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
2
-
S
Given:
I extract the Optimize demo distribution/production into a folder and the absolute file system path to that folder contains whitespaces, e.g. `/home/meggle/Downloads/my little folder/optimize`
When:
I start either optimize-demo.sh or optimize-startup.sh
Then:
The scripts fail with errors like these:
./optimize-startup.sh
Starting Camunda Optimize 3.4.0...
Error: Could not find or load main class little
Caused by: java.lang.ClassNotFoundException: little
Expected:
It should work
Hint:
Seems like internal BASEDIR variable does not correctly escape whitespace in the paths on at least UNIX systems. We also need to verify this on windows.
This is the controller panel for Smart Panels app
[OPT-5120] Optimize distribution scripts don't work if the absolute file system path contains whitespaces
Summary | Original: Optimize demo scripts don't work if the absolute file system path contains whitespaces | New: Optimize distribution scripts don't work if the absolute file system path contains whitespaces |
Description |
Original:
Given:
I extract the Optimize demo distribution/production into a folder and the absolute file system path to that folder contains whitespaces, e.g. `/home/meggle/Downbloads/my little folder/optimize` When: I start either optimize-demo.sh or optimize-startup.sh Then: The scripts fail with errors like these: {code} ./optimize-startup.sh Starting Camunda Optimize 3.4.0... Error: Could not find or load main class little Caused by: java.lang.ClassNotFoundException: little {code} Hint: Seems like internal BASEDIR variable does not correctly escape whitespace in the paths on at least UNIX systems. We also need to verify this on windows. Expected: It should work |
New:
*Given:*
I extract the Optimize demo distribution/production into a folder and the absolute file system path to that folder contains whitespaces, e.g. `/home/meggle/Downbloads/my little folder/optimize` *When:* I start either optimize-demo.sh or optimize-startup.sh *Then:* The scripts fail with errors like these: {code} ./optimize-startup.sh Starting Camunda Optimize 3.4.0... Error: Could not find or load main class little Caused by: java.lang.ClassNotFoundException: little {code} *Expected:* It should work :) *Hint:* Seems like internal BASEDIR variable does not correctly escape whitespace in the paths on at least UNIX systems. We also need to verify this on windows. |
Mentioned Roles |
Mentioned Groups |
Description |
Original:
*Given:*
I extract the Optimize demo distribution/production into a folder and the absolute file system path to that folder contains whitespaces, e.g. `/home/meggle/Downbloads/my little folder/optimize` *When:* I start either optimize-demo.sh or optimize-startup.sh *Then:* The scripts fail with errors like these: {code} ./optimize-startup.sh Starting Camunda Optimize 3.4.0... Error: Could not find or load main class little Caused by: java.lang.ClassNotFoundException: little {code} *Expected:* It should work :) *Hint:* Seems like internal BASEDIR variable does not correctly escape whitespace in the paths on at least UNIX systems. We also need to verify this on windows. |
New:
*Given:*
I extract the Optimize demo distribution/production into a folder and the absolute file system path to that folder contains whitespaces, e.g. `/home/meggle/Downloads/my little folder/optimize` *When:* I start either optimize-demo.sh or optimize-startup.sh *Then:* The scripts fail with errors like these: {code} ./optimize-startup.sh Starting Camunda Optimize 3.4.0... Error: Could not find or load main class little Caused by: java.lang.ClassNotFoundException: little {code} *Expected:* It should work :) *Hint:* Seems like internal BASEDIR variable does not correctly escape whitespace in the paths on at least UNIX systems. We also need to verify this on windows. |
Mentioned Roles |
Mentioned Groups |
Assignee | New: Sebastian Bathke [ sebastian.bathke ] |
Fix Version/s | New: 3.5.0 [ 16724 ] |