[tree] fix duplicated anchor in filename#18852
[tree] fix duplicated anchor in filename#18852vepadulano merged 3 commits intoroot-project:masterfrom
Conversation
Test Results 21 files 21 suites 3d 13h 31m 38s ⏱️ Results for commit 45b62ea. ♻️ This comment has been updated with latest results. |
|
Apologies, I'm trying to understand better what this PR is solving. I can't see from the original issue or from the new reproducer what was the previously broken situation, e.g. what was the file name? In the original issue I read Does the match happen via the file name? |
|
Hi, if I recall correctly, the problem was:
which later led to in TEntryList to: url copies the "hash part" as anchor as an internal variable of the class. but then, we also call:
where filename still contains the hash part. so we ended up with
which appends the previous filename with the internal anchor, so we end up having two times the hash part. so Which means that then, the TEntryList does find the "filename-filename" file inside that zip container. |
|
revamping this nice PR. |
vepadulano
left a comment
There was a problem hiding this comment.
LGTM, the CI failures look unrelated but I'll wait for another rerun to be sure
vepadulano
left a comment
There was a problem hiding this comment.
Clean and simple, nice! I will wait for another CI run before merging.
|
@vepadulano one Windows still failing but I guess it's unrelated. |
This Pull request:
Changes or fixes:
Fixes https://its.cern.ch/jira/browse/ROOT-5002
Checklist: