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

Optimize distribution scripts don't work if the absolute file system path contains whitespaces

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.7.0
    • None
    • backend
    • 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

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: