c8
c8 copied to clipboard
Data: sources: file: wrong path for filenames with slashes
- Version: 16.13.1
- Platform: Windows/Linux
Hi, I am not sure if this is the right spot but I suppose that my issue lies in c8 or something that c8 uses.
Names of files in my project start with /HCR/
.
The issue is that the path generated in tmp/<autogenerated_name>.json file is wrong. That wrong generated path causes C8 to ignore my files in coverage report.
When I change the path manually to %23hcr%23cj_common/%23hcr%23cj_db_tools.clas.abap
everything works.
I tried to analyze the problem myself, but I am not familiar with C8 and could not track down the cause in a reasonable amount of time.
Note: It's not slashes but the hash sign (#
) in filenames causing the problem. The filename needs to be appropriately escaped.
@mbtools good digging, sounds like something we should add a regression test for.