Skip to content

🐛 [Bug] Spaces in workspace paths break ABLUnit test execution #595

Description

@lievendf

Extension Version

1.4.39

OpenEdge Version

12.8

Bug Description

Executing ABLUnit tests on OpenEdge projects fails if the workspace path contains space characters (e.g., C:\projects\my test project\).

Steps to reproduce

  1. Create or open an OpenEdge workspace in a directory that has a space in its path name.
  2. Run an ABLUnit test from the VS Code Test Explorer.
  3. The execution fails in the terminal with shell parsing errors or truncated configuration paths:
    ** Unable to open parameter file C:/projects/my, errno 2. (1247)
    

Cause of the issue

  1. Command-line path parameters (such as -pf, -T, -profile, -p, and the executable path itself) are split by the Windows shell at space characters because they are not quoted.
  2. The parameter string passed to -param uses spaces to delimit individual key-value pairs (e.g., CFG=path ALIASES=...). If a path contains a space, the value is truncated during parsing on the ABL side.

Solution

See #596.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🪲 Something isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions