]
Mario Fusco resolved DROOLS-2338.
---------------------------------
Fix Version/s: 7.7.0.Final
Resolution: Done
Fixed by
MemoryFileSystem losts contents of files all DRL scripts become
"empty" if directory contains a space character
---------------------------------------------------------------------------------------------------------------
Key: DROOLS-2338
URL:
https://issues.jboss.org/browse/DROOLS-2338
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 7.4.1.Final, 7.5.0.Final, 7.6.0.Final
Environment: any
Reporter: Alexander Kotikhov
Assignee: Mario Fusco
Fix For: 7.7.0.Final
Attachments: Снимок экрана от 2018-02-19 18-08-49.png
If a directory where any files are placed contains spaces
MemoryFileSystem.getFile(String path) returns object with truncated name.
To fix this error (in version 7.4.0) it is nessassary line 107
*String name = decode( path ).substring( lastSlashPos + 1 );*
replace with
*String name = decode( path.substring( lastSlashPos + 1 ) );*