-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix RIA file URL reporting in exception handling #7123
Conversation
Probing for the existence of a ria_layout_version file internally constructs a target_ri variable only used for reporting the path to the file. We noticed recently that this reporting was off, duplicating paths, e.g.: [INFO ] RIA store unavailable. -caused by- file:///tmp/myriastore/tmp/myriastore/ria-layout-version not found. -caused by- [Errno 2] No such file or directory: '/tmp/myriastore/ria-layout-version' This duplication should be fixed with this small change. It extracts the file name (ria_layout_version) and appends it to the ria store location, instead of appending the entire path to it.
Codecov ReportBase: 89.39% // Head: 90.95% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## maint #7123 +/- ##
==========================================
+ Coverage 89.39% 90.95% +1.55%
==========================================
Files 355 355
Lines 46498 46498
Branches 6327 6327
==========================================
+ Hits 41569 42294 +725
+ Misses 4914 4189 -725
Partials 15 15
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx, for taking it on, @adswa. Spot is right, solution not quite yet - see comment in diff.
Thx much, @adswa |
PR released in |
Probing for the existence of a ria_layout_version file internally misconstructs a
target_ri
variable only used for reporting the path to the file. We noticed recently that this reporting was off, duplicating paths, e.g.:This duplication should be fixed with this small change. It extracts the file name (
ria_layout_version
) and appends it to the ria store location, instead of appending the entire path to it.