major
minor
major
minor
In the Project-Demo application on Windows, the Scripting Recorder does not display any templates to the user. The Project-Demo templates are located in the com.top_logic.project.demo\test\actions\ directory.
To generate the template tree, the (configured) root directory of the templates is scanned. In Board and Project-Pos—and therefore also for Project-Demo—this is file://./test/actions.
When scanning the directories, file and folder names are determined based on a resource path. This is done using the java.nio.file.Paths API {{{#!java Paths.get(resourcePath).getFileName().toString() }}} However, this can lead to a problem on Windows. The resourcePath must not contain a `:`, because the `Paths.get()` API ultimately normalizes the path using the WindowsPathParser and throws an `InvalidPathException` if it contains a `:`.
Test
Start the Project-Demo application and open the Script Recorder. No errors should be displayed.