Description of problem: Version-Release number of selected component (if applicable): Version: 3.0.0.GA Build Number: e23441b:4e746e8 How reproducible:always Steps to Reproduce: 1. have an windows agent 2. create drift from file-system template on widnows agent 3. set "C:\" as base directory 4. set "tmp" and "**/*" to include path 5. put some files to C:\tmp 6. run drift detection 7. select drift and click on "Pin" to Pin your snapshot Actual results: Table showing contents of snapshot shows "mp" as directory name instead of "tmp" Expected results: Directory name in snapshot is displayed correctly Additional info: It seems like missing "t" was eaten by backslash (full path to dir is C:\tmp
Created attachment 540942 [details] invalid dirname screenshot
This is fairly bad as the paths get corrupted for all drift entries when the basedir is a windows file system root (e.g. c:/ or d:/). There is no workaround other than not using the file system root as the basedir.
master commit 83197699d41880beb6266fc47d38cbf201bce7a4
Test Notes: validate on windows *and* linux: - Using root dir basedir with an includes subdir - Using non-root basedir without an includes - Using non-root basedir with an includes subdir
Verified on master build#836 (Version: 4.3.0-SNAPSHOT Build Number: 3300dff) Followed the steps and verified that the directory name displayed is correct. Please refer the screenshot. Verified on windows and linux root and non-root basedir with and without an includs subdir. The path is displayed correctly.
Created attachment 547206 [details] Screenshot
Bulk close of old bugs in VERIFIED state.